Skip to content

Commit 019f04a

Browse files
committed
Add hyphens
1 parent 0ac56d3 commit 019f04a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugins/speculation-rules/settings.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ function plsr_get_eagerness_labels(): array {
5050
*/
5151
function plsr_get_authentication_labels(): array {
5252
return array(
53-
'logged_out' => _x( 'Logged out visitors only (default)', 'setting label', 'speculation-rules' ),
54-
'logged_out_or_admins' => _x( 'Administrators or logged out visitors', 'setting label', 'speculation-rules' ),
55-
'any' => _x( 'Any user (logged in or out)', 'setting label', 'speculation-rules' ),
53+
'logged_out' => _x( 'Logged-out visitors only (default)', 'setting label', 'speculation-rules' ),
54+
'logged_out_or_admins' => _x( 'Administrators or logged-out visitors', 'setting label', 'speculation-rules' ),
55+
'any' => _x( 'Any user (logged-in or logged-out)', 'setting label', 'speculation-rules' ),
5656
);
5757
}
5858

@@ -163,7 +163,7 @@ function plsr_register_setting(): void {
163163
'enum' => array_keys( plsr_get_eagerness_labels() ),
164164
),
165165
'authentication' => array(
166-
'description' => __( 'Only unauthenticated pages are typically served from cache. So in order to reduce load on the server, speculative loading is not enabled by default for logged in users. If your server can handle the additional load, you can opt in to speculative loading for all logged in users or administrator users only.', 'speculation-rules' ),
166+
'description' => __( 'Only unauthenticated pages are typically served from cache. So in order to reduce load on the server, speculative loading is not enabled by default for logged-in users. If your server can handle the additional load, you can opt in to speculative loading for all logged-in users or administrator users only.', 'speculation-rules' ),
167167
'type' => 'string',
168168
'enum' => array_keys( plsr_get_authentication_labels() ),
169169
),
@@ -211,7 +211,7 @@ static function (): void {
211211
),
212212
'authentication' => array(
213213
'title' => __( 'Authentication', 'speculation-rules' ),
214-
'description' => __( 'Only unauthenticated pages are typically served from cache. So in order to reduce load on the server, speculative loading is not enabled by default for logged in users. If your server can handle the additional load, you can opt in to speculative loading for all logged in users or administrator users only.', 'speculation-rules' ),
214+
'description' => __( 'Only unauthenticated pages are typically served from cache. So in order to reduce load on the server, speculative loading is not enabled by default for logged-in users. If your server can handle the additional load, you can opt in to speculative loading for all logged-in users or administrator users only.', 'speculation-rules' ),
215215
),
216216
);
217217
foreach ( $fields as $slug => $args ) {

0 commit comments

Comments
 (0)