Ticket #49616: sentence-case-ui.diff
File sentence-case-ui.diff, 307.3 KB (added by , 5 years ago) |
---|
-
wp-admin/comment.php
175 175 </tr> 176 176 <?php } ?> 177 177 <tr> 178 <th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In Response To' ); ?></th>178 <th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In response to' ); ?></th> 179 179 <td> 180 180 <?php 181 181 $post_id = $comment->comment_post_ID; -
wp-admin/css/common-rtl.css
1651 1651 } 1652 1652 1653 1653 /*------------------------------------------------------------------------------ 1654 6.1 - Screen Options Tabs1654 6.1 - Screen options Tabs 1655 1655 ------------------------------------------------------------------------------*/ 1656 1656 1657 1657 #screen-options-wrap, -
wp-admin/css/common.css
1651 1651 } 1652 1652 1653 1653 /*------------------------------------------------------------------------------ 1654 6.1 - Screen Options Tabs1654 6.1 - Screen options Tabs 1655 1655 ------------------------------------------------------------------------------*/ 1656 1656 1657 1657 #screen-options-wrap, -
wp-admin/css/customize-nav-menus-rtl.css
236 236 color: #555; 237 237 } 238 238 239 /* Screen Options */239 /* Screen options */ 240 240 .customize-screen-options-toggle { 241 241 background: none; 242 242 border: none; -
wp-admin/css/customize-nav-menus.css
236 236 color: #555; 237 237 } 238 238 239 /* Screen Options */239 /* Screen options */ 240 240 .customize-screen-options-toggle { 241 241 background: none; 242 242 border: none; -
wp-admin/css/list-tables-rtl.css
840 840 ------------------------------------------------------------------------------*/ 841 841 842 842 /* 843 .quick-edit* is for Quick Edit844 .bulk-edit* is for Bulk Edit843 .quick-edit* is for Quick edit 844 .bulk-edit* is for Bulk edit 845 845 .inline-edit* is for everything 846 846 */ 847 847 … … 1821 1821 display: block; 1822 1822 } 1823 1823 1824 /* Comment author hidden via Screen Options */1824 /* Comment author hidden via Screen options */ 1825 1825 .fixed .column-author.hidden ~ .column-comment .comment-author { 1826 1826 display: none; 1827 1827 } … … 1928 1928 content: "| "; 1929 1929 } 1930 1930 1931 /* Quick Edit and Bulk Edit */1931 /* Quick edit and Bulk edit */ 1932 1932 #wpbody-content .quick-edit-row-post .inline-edit-col-left, 1933 1933 #wpbody-content .quick-edit-row-post .inline-edit-col-right, 1934 1934 #wpbody-content .inline-edit-row-post .inline-edit-col-center, … … 2046 2046 padding: 10px 9px; /* reset from other list tables that have a label at this width */ 2047 2047 } 2048 2048 2049 /* Plugin description hidden via Screen Options */2049 /* Plugin description hidden via Screen options */ 2050 2050 #wpbody-content .wp-list-table.plugins .desc.hidden { 2051 2051 display: none; 2052 2052 } -
wp-admin/css/list-tables.css
840 840 ------------------------------------------------------------------------------*/ 841 841 842 842 /* 843 .quick-edit* is for Quick Edit844 .bulk-edit* is for Bulk Edit843 .quick-edit* is for Quick edit 844 .bulk-edit* is for Bulk edit 845 845 .inline-edit* is for everything 846 846 */ 847 847 … … 1821 1821 display: block; 1822 1822 } 1823 1823 1824 /* Comment author hidden via Screen Options */1824 /* Comment author hidden via Screen options */ 1825 1825 .fixed .column-author.hidden ~ .column-comment .comment-author { 1826 1826 display: none; 1827 1827 } … … 1928 1928 content: "| "; 1929 1929 } 1930 1930 1931 /* Quick Edit and Bulk Edit */1931 /* Quick edit and Bulk edit */ 1932 1932 #wpbody-content .quick-edit-row-post .inline-edit-col-left, 1933 1933 #wpbody-content .quick-edit-row-post .inline-edit-col-right, 1934 1934 #wpbody-content .inline-edit-row-post .inline-edit-col-center, … … 2046 2046 padding: 10px 9px; /* reset from other list tables that have a label at this width */ 2047 2047 } 2048 2048 2049 /* Plugin description hidden via Screen Options */2049 /* Plugin description hidden via Screen options */ 2050 2050 #wpbody-content .wp-list-table.plugins .desc.hidden { 2051 2051 display: none; 2052 2052 } -
wp-admin/css/nav-menus-rtl.css
335 335 display: none; 336 336 } 337 337 338 /* Create Menu */338 /* Create menu */ 339 339 #menu-name { 340 340 width: 270px; 341 341 vertical-align: middle; -
wp-admin/css/nav-menus.css
335 335 display: none; 336 336 } 337 337 338 /* Create Menu */338 /* Create menu */ 339 339 #menu-name { 340 340 width: 270px; 341 341 vertical-align: middle; -
wp-admin/edit-comments.php
185 185 'id' => 'overview', 186 186 'title' => __( 'Overview' ), 187 187 'content' => 188 '<p>' . __( 'You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.' ) . '</p>',188 '<p>' . __( 'You can manage comments made on your site similar to the way you manage posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk actions.' ) . '</p>', 189 189 ) 190 190 ); 191 191 get_current_screen()->add_help_tab( … … 196 196 '<p>' . __( 'A red bar on the left means the comment is waiting for you to moderate it.' ) . '</p>' . 197 197 '<p>' . __( 'In the <strong>Author</strong> column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '</p>' . 198 198 '<p>' . __( 'In the <strong>Comment</strong> column, hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '</p>' . 199 '<p>' . __( 'In the <strong>In Response To</strong> column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If there are pending comments, a red notification circle with the number of pending comments is displayed. Clicking the notification circle will filter the comments screen to show only pending comments on that post.' ) . '</p>' .200 '<p>' . __( 'In the <strong>Submitted On</strong> column, the date and time the comment was left on your site appears. Clicking on the date/time link will take you to that comment on your live site.' ) . '</p>' .199 '<p>' . __( 'In the <strong>In response to</strong> column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If there are pending comments, a red notification circle with the number of pending comments is displayed. Clicking the notification circle will filter the comments screen to show only pending comments on that post.' ) . '</p>' . 200 '<p>' . __( 'In the <strong>Submitted on</strong> column, the date and time the comment was left on your site appears. Clicking on the date/time link will take you to that comment on your live site.' ) . '</p>' . 201 201 '<p>' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more.' ) . '</p>', 202 202 ) 203 203 ); … … 339 339 340 340 <form id="comments-form" method="get"> 341 341 342 <?php $wp_list_table->search_box( __( 'Search Comments' ), 'comment' ); ?>342 <?php $wp_list_table->search_box( __( 'Search comments' ), 'comment' ); ?> 343 343 344 344 <?php if ( $post_id ) : ?> 345 345 <input type="hidden" name="p" value="<?php echo esc_attr( intval( $post_id ) ); ?>" /> -
wp-admin/edit-form-advanced.php
277 277 ); 278 278 279 279 if ( 'post' == $post_type ) { 280 $customize_display = '<p>' . __( 'The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop. You can also minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.' ) . '</p>';280 $customize_display = '<p>' . __( 'The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop. You can also minimize or expand them by clicking the title bar of each box. Use the Screen options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.' ) . '</p>'; 281 281 282 282 get_current_screen()->add_help_tab( 283 283 array( … … 292 292 $title_and_editor .= '<p>' . __( 'Visual mode gives you an editor that is similar to a word processor. Click the Toolbar Toggle button to get a second row of controls.' ) . '</p>'; 293 293 $title_and_editor .= '<p>' . __( 'The Text mode allows you to enter HTML along with your post text. Note that <p> and <br> tags are converted to line breaks when switching to the Text editor to make it less cluttered. When you type, a single line break can be used instead of typing <br>, and two line breaks instead of paragraph tags. The line breaks are converted back to tags automatically.' ) . '</p>'; 294 294 $title_and_editor .= '<p>' . __( 'You can insert media files by clicking the button above the post editor and following the directions. You can align or edit images using the inline formatting toolbar available in Visual mode.' ) . '</p>'; 295 $title_and_editor .= '<p>' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen Options.' ) . '</p>';295 $title_and_editor .= '<p>' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen options.' ) . '</p>'; 296 296 $title_and_editor .= '<p>' . __( 'Keyboard users: When you’re working in the visual editor, you can use <kbd>Alt + F10</kbd> to access the toolbar.' ) . '</p>'; 297 297 298 298 get_current_screen()->add_help_tab( … … 315 315 ); 316 316 } elseif ( 'page' == $post_type ) { 317 317 $about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.' ) . '</p>' . 318 '<p>' . __( 'Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box.' ) . '</p>';318 '<p>' . __( 'Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box.' ) . '</p>'; 319 319 320 320 get_current_screen()->add_help_tab( 321 321 array( … … 338 338 'title' => __( 'Overview' ), 339 339 'content' => 340 340 '<p>' . __( 'This screen allows you to edit fields for metadata in a file within the media library.' ) . '</p>' . 341 '<p>' . __( 'For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '</p>' .341 '<p>' . __( 'For images only, you can click on Edit image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '</p>' . 342 342 '<p>' . __( 'Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.' ) . '</p>' . 343 343 '<p>' . __( 'Remember to click Update Media to save metadata entered or changed.' ) . '</p>', 344 344 ) … … 352 352 } 353 353 354 354 if ( 'post' == $post_type || 'page' == $post_type ) { 355 $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '</p>';355 $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '</p>'; 356 356 $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/support/article/embeds/">Learn more about embeds</a>.' ) . '</p>'; 357 357 358 358 get_current_screen()->add_help_tab( -
wp-admin/edit-form-comment.php
184 184 185 185 <div id="major-publishing-actions"> 186 186 <div id="delete-action"> 187 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?>187 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?> 188 188 </div> 189 189 <div id="publishing-action"> 190 190 <?php submit_button( __( 'Update' ), 'primary large', 'save', false ); ?> -
wp-admin/edit-link-form.php
14 14 if ( ! empty( $link_id ) ) { 15 15 /* translators: %s: URL to Links screen. */ 16 16 $heading = sprintf( __( '<a href="%s">Links</a> / Edit Link' ), 'link-manager.php' ); 17 $submit_text = __( 'Update Link' );17 $submit_text = __( 'Update link' ); 18 18 $form_name = 'editlink'; 19 19 $nonce_action = 'update-bookmark_' . $link_id; 20 20 } else { 21 21 /* translators: %s: URL to Links screen. */ 22 $heading = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );23 $submit_text = __( 'Add Link' );22 $heading = sprintf( __( '<a href="%s">Links</a> / Add new link' ), 'link-manager.php' ); 23 $submit_text = __( 'Add link' ); 24 24 $form_name = 'addlink'; 25 25 $nonce_action = 'add-bookmark'; 26 26 } … … 30 30 add_meta_box( 'linksubmitdiv', __( 'Save' ), 'link_submit_meta_box', null, 'side', 'core' ); 31 31 add_meta_box( 'linkcategorydiv', __( 'Categories' ), 'link_categories_meta_box', null, 'normal', 'core' ); 32 32 add_meta_box( 'linktargetdiv', __( 'Target' ), 'link_target_meta_box', null, 'normal', 'core' ); 33 add_meta_box( 'linkxfndiv', __( 'Link Relationship (XFN)' ), 'link_xfn_meta_box', null, 'normal', 'core' );33 add_meta_box( 'linkxfndiv', __( 'Link relationship (XFN)' ), 'link_xfn_meta_box', null, 'normal', 'core' ); 34 34 add_meta_box( 'linkadvanceddiv', __( 'Advanced' ), 'link_advanced_meta_box', null, 'normal', 'core' ); 35 35 36 36 /** This action is documented in wp-admin/includes/meta-boxes.php */ … … 66 66 'title' => __( 'Overview' ), 67 67 'content' => 68 68 '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' . 69 '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' .69 '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . 70 70 '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>', 71 71 ) 72 72 ); … … 87 87 ?> 88 88 </h1> 89 89 90 <a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>90 <a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add new', 'link' ); ?></a> 91 91 92 92 <hr class="wp-header-end"> 93 93 -
wp-admin/edit-tags.php
287 287 288 288 $help .= '<li>' . __( '<strong>Description</strong> — The description is not prominent by default; however, some themes may display it.' ) . '</li>' . 289 289 '</ul>' . 290 '<p>' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '</p>';290 '<p>' . __( 'You can change the display of this screen using the Screen options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '</p>'; 291 291 292 292 get_current_screen()->add_help_tab( 293 293 array( -
wp-admin/edit.php
224 224 'content' => 225 225 '<p>' . __( 'You can customize the display of this screen’s contents in a number of ways:' ) . '</p>' . 226 226 '<ul>' . 227 '<li>' . __( 'You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.' ) . '</li>' .227 '<li>' . __( 'You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen options tab.' ) . '</li>' . 228 228 '<li>' . __( 'You can filter the list of posts by post status using the text links above the posts list to only show posts with that status. The default view is to show all posts.' ) . '</li>' . 229 '<li>' . __( 'You can view posts in a simple title list or with an excerpt using the Screen Options tab.' ) . '</li>' .229 '<li>' . __( 'You can view posts in a simple title list or with an excerpt using the Screen options tab.' ) . '</li>' . 230 230 '<li>' . __( 'You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.' ) . '</li>' . 231 231 '</ul>', 232 232 ) … … 239 239 '<p>' . __( 'Hovering over a row in the posts list will display action links that allow you to manage your post. You can perform the following actions:' ) . '</p>' . 240 240 '<ul>' . 241 241 '<li>' . __( '<strong>Edit</strong> takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.' ) . '</li>' . 242 '<li>' . __( '<strong>Quick Edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.' ) . '</li>' .242 '<li>' . __( '<strong>Quick edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.' ) . '</li>' . 243 243 '<li>' . __( '<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.' ) . '</li>' . 244 244 '<li>' . __( '<strong>Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.' ) . '</li>' . 245 245 '</ul>', … … 248 248 get_current_screen()->add_help_tab( 249 249 array( 250 250 'id' => 'bulk-actions', 251 'title' => __( 'Bulk Actions' ),251 'title' => __( 'Bulk actions' ), 252 252 'content' => 253 '<p>' . __( 'You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '</p>' .254 '<p>' . __( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.' ) . '</p>',253 '<p>' . __( 'You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk actions menu and click Apply.' ) . '</p>' . 254 '<p>' . __( 'When using Bulk edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk edit area that appears.' ) . '</p>', 255 255 ) 256 256 ); 257 257 … … 276 276 'title' => __( 'Managing Pages' ), 277 277 'content' => 278 278 '<p>' . __( 'Managing pages is very similar to managing posts, and the screens can be customized in the same way.' ) . '</p>' . 279 '<p>' . __( 'You can also perform the same types of actions, including narrowing the list by using the filters, acting on a page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple pages at once.' ) . '</p>',279 '<p>' . __( 'You can also perform the same types of actions, including narrowing the list by using the filters, acting on a page using the action links that appear when you hover over a row, or using the Bulk actions menu to edit the metadata for multiple pages at once.' ) . '</p>', 280 280 ) 281 281 ); 282 282 -
wp-admin/erase-personal-data.php
63 63 <div class="wp-privacy-request-form-field"> 64 64 <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label> 65 65 <input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" /> 66 <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>66 <?php submit_button( __( 'Send request' ), 'secondary', 'submit', false ); ?> 67 67 </div> 68 68 <?php wp_nonce_field( 'personal-data-request' ); ?> 69 69 <input type="hidden" name="action" value="add_remove_personal_data_request" /> … … 74 74 <?php $requests_table->views(); ?> 75 75 76 76 <form class="search-form wp-clearfix"> 77 <?php $requests_table->search_box( __( 'Search Requests' ), 'requests' ); ?>77 <?php $requests_table->search_box( __( 'Search requests' ), 'requests' ); ?> 78 78 <input type="hidden" name="filter-status" value="<?php echo isset( $_REQUEST['filter-status'] ) ? esc_attr( sanitize_text_field( $_REQUEST['filter-status'] ) ) : ''; ?>" /> 79 79 <input type="hidden" name="orderby" value="<?php echo isset( $_REQUEST['orderby'] ) ? esc_attr( sanitize_text_field( $_REQUEST['orderby'] ) ) : ''; ?>" /> 80 80 <input type="hidden" name="order" value="<?php echo isset( $_REQUEST['order'] ) ? esc_attr( sanitize_text_field( $_REQUEST['order'] ) ) : ''; ?>" /> -
wp-admin/export-personal-data.php
63 63 <div class="wp-privacy-request-form-field"> 64 64 <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label> 65 65 <input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" /> 66 <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>66 <?php submit_button( __( 'Send request' ), 'secondary', 'submit', false ); ?> 67 67 </div> 68 68 <?php wp_nonce_field( 'personal-data-request' ); ?> 69 69 <input type="hidden" name="action" value="add_export_personal_data_request" /> … … 74 74 <?php $requests_table->views(); ?> 75 75 76 76 <form class="search-form wp-clearfix"> 77 <?php $requests_table->search_box( __( 'Search Requests' ), 'requests' ); ?>77 <?php $requests_table->search_box( __( 'Search requests' ), 'requests' ); ?> 78 78 <input type="hidden" name="filter-status" value="<?php echo isset( $_REQUEST['filter-status'] ) ? esc_attr( sanitize_text_field( $_REQUEST['filter-status'] ) ) : ''; ?>" /> 79 79 <input type="hidden" name="orderby" value="<?php echo isset( $_REQUEST['orderby'] ) ? esc_attr( sanitize_text_field( $_REQUEST['orderby'] ) ) : ''; ?>" /> 80 80 <input type="hidden" name="order" value="<?php echo isset( $_REQUEST['order'] ) ? esc_attr( sanitize_text_field( $_REQUEST['order'] ) ) : ''; ?>" /> -
wp-admin/export.php
317 317 do_action( 'export_filters' ); 318 318 ?> 319 319 320 <?php submit_button( __( 'Download Export File' ) ); ?>320 <?php submit_button( __( 'Download export file' ) ); ?> 321 321 </form> 322 322 </div> 323 323 -
wp-admin/import.php
21 21 array( 22 22 'id' => 'overview', 23 23 'title' => __( 'Overview' ), 24 'content' => '<p>' . __( 'This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.' ) . '</p>' .24 'content' => '<p>' . __( 'This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.' ) . '</p>' . 25 25 '<p>' . __( 'In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.' ) . '</p>', 26 26 ) 27 27 ); … … 157 157 esc_attr( $data[0] ), 158 158 /* translators: %s: Importer name. */ 159 159 esc_attr( sprintf( __( 'Install %s now' ), $data[0] ) ), 160 __( 'Install Now' )160 __( 'Install now' ) 161 161 ); 162 162 } else { 163 163 $action = sprintf( -
wp-admin/includes/ajax-actions.php
1964 1964 } 1965 1965 1966 1966 /** 1967 * Ajax handler for Quick Edit saving a post from a list table.1967 * Ajax handler for Quick edit saving a post from a list table. 1968 1968 * 1969 1969 * @since 3.1.0 1970 1970 * … … 2041 2041 $data['ping_status'] = 'closed'; 2042 2042 } 2043 2043 2044 // Exclude terms from taxonomies that are not supposed to appear in Quick Edit.2044 // Exclude terms from taxonomies that are not supposed to appear in Quick edit. 2045 2045 if ( ! empty( $data['tax_input'] ) ) { 2046 2046 foreach ( $data['tax_input'] as $taxonomy => $terms ) { 2047 2047 $tax_object = get_taxonomy( $taxonomy ); -
wp-admin/includes/class-custom-background.php
89 89 'content' => 90 90 '<p>' . __( 'You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 91 91 '<p>' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the “Choose Image” button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 92 '<p>' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' .93 '<p>' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '</p>',92 '<p>' . __( 'You can also choose a background color by clicking the Select color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . 93 '<p>' . __( 'Don’t forget to click on the Save changes button when you are finished.' ) . '</p>', 94 94 ) 95 95 ); 96 96 -
wp-admin/includes/class-custom-image-header.php
107 107 'title' => __( 'Header Image' ), 108 108 'content' => 109 109 '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately. Alternatively, you can use an image that has already been uploaded to your Media Library by clicking the “Choose Image” button.' ) . '</p>' . 110 '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the “Save Changes” button.' ) . '</p>' .110 '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the “Save changes” button.' ) . '</p>' . 111 111 '<p>' . __( 'If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the “Random” radio button next to the Uploaded Images or Default Images section to enable this feature.' ) . '</p>' . 112 '<p>' . __( 'If you don’t want a header image to be displayed on your site at all, click the “Remove Header Image” button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click “Save Changes”.' ) . '</p>',112 '<p>' . __( 'If you don’t want a header image to be displayed on your site at all, click the “Remove Header Image” button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click “Save changes”.' ) . '</p>', 113 113 ) 114 114 ); 115 115 … … 124 124 admin_url( 'options-general.php' ) 125 125 ) . 126 126 '</p>' . 127 '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' .128 '<p>' . __( 'Don’t forget to click “Save Changes” when you’re done!' ) . '</p>',127 '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . 128 '<p>' . __( 'Don’t forget to click “Save changes” when you’re done!' ) . '</p>', 129 129 ) 130 130 ); 131 131 -
wp-admin/includes/class-theme-installer-skin.php
91 91 '<a href="%s" class="hide-if-no-customize load-customize">' . 92 92 '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', 93 93 esc_url( $customize_url ), 94 __( 'Live Preview' ),94 __( 'Live preview' ), 95 95 /* translators: %s: Theme name. */ 96 sprintf( __( 'Live Preview “%s”' ), $name )96 sprintf( __( 'Live preview “%s”' ), $name ) 97 97 ); 98 98 } 99 99 -
wp-admin/includes/class-theme-upgrader-skin.php
82 82 '<a href="%s" class="hide-if-no-customize load-customize">' . 83 83 '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', 84 84 esc_url( $customize_url ), 85 __( 'Live Preview' ),85 __( 'Live preview' ), 86 86 /* translators: %s: Theme name. */ 87 sprintf( __( 'Live Preview “%s”' ), $name )87 sprintf( __( 'Live preview “%s”' ), $name ) 88 88 ); 89 89 } 90 90 -
wp-admin/includes/class-walker-nav-menu-edit.php
191 191 <?php endif; ?> 192 192 <p class="description description-wide"> 193 193 <label for="edit-menu-item-title-<?php echo $item_id; ?>"> 194 <?php _e( 'Navigation Label' ); ?><br />194 <?php _e( 'Navigation label' ); ?><br /> 195 195 <input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" /> 196 196 </label> 197 197 </p> 198 198 <p class="field-title-attribute field-attr-title description description-wide"> 199 199 <label for="edit-menu-item-attr-title-<?php echo $item_id; ?>"> 200 <?php _e( 'Title Attribute' ); ?><br />200 <?php _e( 'Title attribute' ); ?><br /> 201 201 <input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" /> 202 202 </label> 203 203 </p> … … 209 209 </p> 210 210 <p class="field-css-classes description description-thin"> 211 211 <label for="edit-menu-item-classes-<?php echo $item_id; ?>"> 212 <?php _e( 'CSS Classes (optional)' ); ?><br />212 <?php _e( 'CSS classes (optional)' ); ?><br /> 213 213 <input type="text" id="edit-menu-item-classes-<?php echo $item_id; ?>" class="widefat code edit-menu-item-classes" name="menu-item-classes[<?php echo $item_id; ?>]" value="<?php echo esc_attr( implode( ' ', $item->classes ) ); ?>" /> 214 214 </label> 215 215 </p> 216 216 <p class="field-xfn description description-thin"> 217 217 <label for="edit-menu-item-xfn-<?php echo $item_id; ?>"> 218 <?php _e( 'Link Relationship (XFN)' ); ?><br />218 <?php _e( 'Link relationship (XFN)' ); ?><br /> 219 219 <input type="text" id="edit-menu-item-xfn-<?php echo $item_id; ?>" class="widefat code edit-menu-item-xfn" name="menu-item-xfn[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->xfn ); ?>" /> 220 220 </label> 221 221 </p> -
wp-admin/includes/class-wp-comments-list-table.php
350 350 } 351 351 352 352 if ( in_array( $comment_status, array( 'trash', 'spam' ) ) || ! EMPTY_TRASH_DAYS ) { 353 $actions['delete'] = __( 'Delete Permanently' );353 $actions['delete'] = __( 'Delete permanently' ); 354 354 } else { 355 355 $actions['trash'] = __( 'Move to Trash' ); 356 356 } … … 456 456 457 457 if ( ! $post_id ) { 458 458 /* translators: Column name or table row header. */ 459 $columns['response'] = __( 'In Response To' );459 $columns['response'] = __( 'In response to' ); 460 460 } 461 461 462 $columns['date'] = _x( 'Submitted On', 'column name' );462 $columns['date'] = _x( 'Submitted on', 'column name' ); 463 463 464 464 return $columns; 465 465 } … … 606 606 $untrash_url = esc_url( $url . "&action=untrashcomment&$del_nonce" ); 607 607 $delete_url = esc_url( $url . "&action=deletecomment&$del_nonce" ); 608 608 609 // Preorder it: Approve | Reply | Quick Edit | Edit | Spam | Trash.609 // Preorder it: Approve | Reply | Quick edit | Edit | Spam | Trash. 610 610 $actions = array( 611 611 'approve' => '', 612 612 'unapprove' => '', … … 692 692 $delete_url, 693 693 "delete:the-comment-list:comment-{$comment->comment_ID}::delete=1", 694 694 esc_attr__( 'Delete this comment permanently' ), 695 __( 'Delete Permanently' )695 __( 'Delete permanently' ) 696 696 ); 697 697 } else { 698 698 $actions['trash'] = sprintf( -
wp-admin/includes/class-wp-list-table.php
440 440 if ( is_null( $this->_actions ) ) { 441 441 $this->_actions = $this->get_bulk_actions(); 442 442 /** 443 * Filters the list table Bulk Actions drop-down.443 * Filters the list table Bulk actions drop-down. 444 444 * 445 445 * The dynamic portion of the hook name, `$this->screen->id`, refers 446 446 * to the ID of the current screen, usually a string. … … 463 463 464 464 echo '<label for="bulk-action-selector-' . esc_attr( $which ) . '" class="screen-reader-text">' . __( 'Select bulk action' ) . '</label>'; 465 465 echo '<select name="action' . $two . '" id="bulk-action-selector-' . esc_attr( $which ) . "\">\n"; 466 echo '<option value="-1">' . __( 'Bulk Actions' ) . "</option>\n";466 echo '<option value="-1">' . __( 'Bulk actions' ) . "</option>\n"; 467 467 468 468 foreach ( $this->_actions as $name => $title ) { 469 469 $class = 'edit' === $name ? ' class="hide-if-no-js"' : ''; … … 1125 1125 1126 1126 if ( ! empty( $columns['cb'] ) ) { 1127 1127 static $cb_counter = 1; 1128 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>'1128 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select all' ) . '</label>' 1129 1129 . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />'; 1130 1130 $cb_counter++; 1131 1131 } -
wp-admin/includes/class-wp-media-list-table.php
149 149 if ( MEDIA_TRASH ) { 150 150 if ( $this->is_trash ) { 151 151 $actions['untrash'] = __( 'Restore' ); 152 $actions['delete'] = __( 'Delete Permanently' );152 $actions['delete'] = __( 'Delete permanently' ); 153 153 } else { 154 154 $actions['trash'] = __( 'Move to Trash' ); 155 155 } 156 156 } else { 157 $actions['delete'] = __( 'Delete Permanently' );157 $actions['delete'] = __( 'Delete permanently' ); 158 158 } 159 159 160 160 if ( $this->detached ) { … … 687 687 $delete_ays, 688 688 /* translators: %s: Attachment title. */ 689 689 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 690 __( 'Delete Permanently' )690 __( 'Delete permanently' ) 691 691 ); 692 692 } 693 693 } … … 744 744 $delete_ays, 745 745 /* translators: %s: Attachment title. */ 746 746 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 747 __( 'Delete Permanently' )747 __( 'Delete permanently' ) 748 748 ); 749 749 } 750 750 } … … 765 765 * @since 2.8.0 766 766 * 767 767 * @param string[] $actions An array of action links for each attachment. 768 * Default 'Edit', 'Delete Permanently', 'View'.768 * Default 'Edit', 'Delete permanently', 'View'. 769 769 * @param WP_Post $post WP_Post object for the current attachment. 770 770 * @param bool $detached Whether the list table contains media not attached 771 771 * to any posts. Default true. -
wp-admin/includes/class-wp-ms-sites-list-table.php
360 360 $sites_columns = array( 361 361 'cb' => '<input type="checkbox" />', 362 362 'blogname' => __( 'URL' ), 363 'lastupdated' => __( 'Last Updated' ),363 'lastupdated' => __( 'Last updated' ), 364 364 'registered' => _x( 'Registered', 'site' ), 365 365 'users' => __( 'Users' ), 366 366 ); -
wp-admin/includes/class-wp-ms-themes-list-table.php
329 329 case 'upgrade': 330 330 /* translators: %s: Number of themes. */ 331 331 $text = _nx( 332 'Update Available <span class="count">(%s)</span>',333 'Update Available <span class="count">(%s)</span>',332 'Update available <span class="count">(%s)</span>', 333 'Update available <span class="count">(%s)</span>', 334 334 $count, 335 335 'themes' 336 336 ); -
wp-admin/includes/class-wp-plugin-install-list-table.php
102 102 $tabs['search'] = __( 'Search Results' ); 103 103 } 104 104 if ( $tab === 'beta' || false !== strpos( get_bloginfo( 'version' ), '-' ) ) { 105 $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' );105 $tabs['beta'] = _x( 'Beta testing', 'Plugin Installer' ); 106 106 } 107 107 $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); 108 108 $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); … … 111 111 if ( current_user_can( 'upload_plugins' ) ) { 112 112 // No longer a real tab. Here for filter compatibility. 113 113 // Gets skipped in get_views(). 114 $tabs['upload'] = __( 'Upload Plugin' );114 $tabs['upload'] = __( 'Upload plugin' ); 115 115 } 116 116 117 117 $nonmenu_tabs = array( 'plugin-information' ); // Valid actions to perform which do not have a Menu item. … … 530 530 /* translators: %s: Plugin name and version. */ 531 531 esc_attr( sprintf( __( 'Install %s now' ), $name ) ), 532 532 esc_attr( $name ), 533 __( 'Install Now' )533 __( 'Install now' ) 534 534 ); 535 535 } else { 536 536 $action_links[] = sprintf( 537 537 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 538 _x( 'Cannot Install', 'plugin' )538 _x( 'Cannot install', 'plugin' ) 539 539 ); 540 540 } 541 541 } … … 552 552 /* translators: %s: Plugin name and version. */ 553 553 esc_attr( sprintf( __( 'Update %s now' ), $name ) ), 554 554 esc_attr( $name ), 555 __( 'Update Now' )555 __( 'Update now' ) 556 556 ); 557 557 } else { 558 558 $action_links[] = sprintf( 559 559 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 560 _x( 'Cannot Update', 'plugin' )560 _x( 'Cannot update', 'plugin' ) 561 561 ); 562 562 } 563 563 } … … 617 617 /* translators: %s: Plugin name and version. */ 618 618 esc_attr( sprintf( __( 'More information about %s' ), $name ) ), 619 619 esc_attr( $name ), 620 __( 'More Details' )620 __( 'More details' ) 621 621 ); 622 622 623 623 if ( ! empty( $plugin['icons']['svg'] ) ) { … … 635 635 * 636 636 * @since 2.7.0 637 637 * 638 * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.638 * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install now. 639 639 * @param array $plugin The plugin currently being listed. 640 640 */ 641 641 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); … … 728 728 <span class="num-ratings" aria-hidden="true">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span> 729 729 </div> 730 730 <div class="column-updated"> 731 <strong><?php _e( 'Last Updated:' ); ?></strong>731 <strong><?php _e( 'Last updated:' ); ?></strong> 732 732 <?php 733 733 /* translators: %s: Human-readable time difference. */ 734 734 printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); -
wp-admin/includes/class-wp-plugins-list-table.php
488 488 case 'upgrade': 489 489 /* translators: %s: Number of plugins. */ 490 490 $text = _n( 491 'Update Available <span class="count">(%s)</span>',492 'Update Available <span class="count">(%s)</span>',491 'Update available <span class="count">(%s)</span>', 492 'Update available <span class="count">(%s)</span>', 493 493 $count 494 494 ); 495 495 break; -
wp-admin/includes/class-wp-posts-list-table.php
415 415 416 416 if ( current_user_can( $post_type_obj->cap->delete_posts ) ) { 417 417 if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) { 418 $actions['delete'] = __( 'Delete Permanently' );418 $actions['delete'] = __( 'Delete permanently' ); 419 419 } else { 420 420 $actions['trash'] = __( 'Move to Trash' ); 421 421 } … … 1375 1375 get_delete_post_link( $post->ID, '', true ), 1376 1376 /* translators: %s: Post title. */ 1377 1377 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), 1378 __( 'Delete Permanently' )1378 __( 'Delete permanently' ) 1379 1379 ); 1380 1380 } 1381 1381 } … … 1423 1423 * @since 2.8.0 1424 1424 * 1425 1425 * @param string[] $actions An array of row action links. Defaults are 1426 * 'Edit', 'Quick Edit', 'Restore', 'Trash',1427 * 'Delete Permanently', 'Preview', and 'View'.1426 * 'Edit', 'Quick edit', 'Restore', 'Trash', 1427 * 'Delete permanently', 'Preview', and 'View'. 1428 1428 * @param WP_Post $post The post object. 1429 1429 */ 1430 1430 $actions = apply_filters( 'page_row_actions', $actions, $post ); … … 1438 1438 * @since 2.8.0 1439 1439 * 1440 1440 * @param string[] $actions An array of row action links. Defaults are 1441 * 'Edit', 'Quick Edit', 'Restore', 'Trash',1442 * 'Delete Permanently', 'Preview', and 'View'.1441 * 'Edit', 'Quick edit', 'Restore', 'Trash', 1442 * 'Delete permanently', 'Preview', and 'View'. 1443 1443 * @param WP_Post $post The post object. 1444 1444 */ 1445 1445 $actions = apply_filters( 'post_row_actions', $actions, $post ); … … 1473 1473 $show_in_quick_edit = $taxonomy->show_in_quick_edit; 1474 1474 1475 1475 /** 1476 * Filters whether the current taxonomy should be shown in the Quick Edit panel.1476 * Filters whether the current taxonomy should be shown in the Quick edit panel. 1477 1477 * 1478 1478 * @since 4.2.0 1479 1479 * 1480 * @param bool $show_in_quick_edit Whether to show the current taxonomy in Quick Edit.1480 * @param bool $show_in_quick_edit Whether to show the current taxonomy in Quick edit. 1481 1481 * @param string $taxonomy_name Taxonomy name. 1482 * @param string $post_type Post type of current Quick Edit post.1482 * @param string $post_type Post type of current Quick edit post. 1483 1483 */ 1484 1484 if ( ! apply_filters( 'quick_edit_show_taxonomy', $show_in_quick_edit, $taxonomy_name, $screen->post_type ) ) { 1485 1485 continue; … … 1525 1525 " style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 1526 1526 1527 1527 <fieldset class="inline-edit-col-left"> 1528 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>1528 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk edit' ) : __( 'Quick edit' ); ?></legend> 1529 1529 <div class="inline-edit-col"> 1530 1530 <?php 1531 1531 … … 1668 1668 } 1669 1669 1670 1670 /** 1671 * Filters the arguments used to generate the Quick Edit page-parent drop-down.1671 * Filters the arguments used to generate the Quick edit page-parent drop-down. 1672 1672 * 1673 1673 * @since 2.7.0 1674 1674 * … … 1866 1866 if ( $bulk ) { 1867 1867 1868 1868 /** 1869 * Fires once for each column in Bulk Edit mode.1869 * Fires once for each column in Bulk edit mode. 1870 1870 * 1871 1871 * @since 2.7.0 1872 1872 * … … 1877 1877 } else { 1878 1878 1879 1879 /** 1880 * Fires once for each column in Quick Edit mode.1880 * Fires once for each column in Quick edit mode. 1881 1881 * 1882 1882 * @since 2.7.0 1883 1883 * -
wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php
56 56 'data-nonce="' . esc_attr( $nonce ) . 57 57 '">'; 58 58 59 $download_data_markup .= '<span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download Personal Data' ) . '</button></span>' .59 $download_data_markup .= '<span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download personal data' ) . '</button></span>' . 60 60 '<span class="export-personal-data-processing hidden">' . __( 'Downloading Data...' ) . '</span>' . 61 '<span class="export-personal-data-success hidden"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download Personal Data Again' ) . '</button></span>' .61 '<span class="export-personal-data-success hidden"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download personal data Again' ) . '</button></span>' . 62 62 '<span class="export-personal-data-failed hidden">' . __( 'Download failed.' ) . ' <button type="button" class="button-link">' . __( 'Retry' ) . '</button></span>'; 63 63 64 64 $download_data_markup .= '</div>'; -
wp-admin/includes/class-wp-privacy-requests-table.php
43 43 'email' => __( 'Requester' ), 44 44 'status' => __( 'Status' ), 45 45 'created_timestamp' => __( 'Requested' ), 46 'next_steps' => __( 'Next Steps' ),46 'next_steps' => __( 'Next steps' ), 47 47 ); 48 48 return $columns; 49 49 } -
wp-admin/includes/class-wp-screen.php
678 678 * 679 679 * The layout_columns option controls the max number and default number of 680 680 * columns. This method returns the number of columns within that range selected 681 * by the user via Screen Options. If no selection has been made, the default681 * by the user via Screen options. If no selection has been made, the default 682 682 * provisioned in layout_columns is returned. If the screen does not support 683 683 * selecting the number of layout columns, 0 is returned. 684 684 * … … 930 930 <div id="screen-meta-links"> 931 931 <?php if ( $this->show_screen_options() ) : ?> 932 932 <div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle"> 933 <button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button>933 <button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen options' ); ?></button> 934 934 </div> 935 935 <?php 936 936 endif; … … 970 970 } 971 971 972 972 /** 973 * Filters the screen settings text displayed in the Screen Options tab.973 * Filters the screen settings text displayed in the Screen options tab. 974 974 * 975 975 * This filter is currently only used on the Widgets screen to enable 976 976 * accessibility mode. … … 987 987 } 988 988 989 989 /** 990 * Filters whether to show the Screen Options tab.990 * Filters whether to show the Screen options tab. 991 991 * 992 992 * @since 3.2.0 993 993 * 994 * @param bool $show_screen Whether to show Screen Options tab.994 * @param bool $show_screen Whether to show Screen options tab. 995 995 * Default true. 996 996 * @param WP_Screen $this Current WP_Screen instance. 997 997 */ … … 1023 1023 1024 1024 // Output optional wrapper. 1025 1025 if ( $options['wrap'] ) { 1026 $wrapper_start = '<div id="screen-options-wrap" class="hidden" tabindex="-1" aria-label="' . esc_attr__( 'Screen Options Tab' ) . '">';1026 $wrapper_start = '<div id="screen-options-wrap" class="hidden" tabindex="-1" aria-label="' . esc_attr__( 'Screen options tab' ) . '">'; 1027 1027 $wrapper_end = '</div>'; 1028 1028 } 1029 1029 … … 1043 1043 echo $this->_screen_settings; 1044 1044 1045 1045 /** 1046 * Filters whether to show the Screen Options submit button.1046 * Filters whether to show the Screen options submit button. 1047 1047 * 1048 1048 * @since 4.4.0 1049 1049 * 1050 * @param bool $show_button Whether to show Screen Options submit button.1050 * @param bool $show_button Whether to show Screen options submit button. 1051 1051 * Default false. 1052 1052 * @param WP_Screen $this Current WP_Screen instance. 1053 1053 */ -
wp-admin/includes/class-wp-terms-list-table.php
505 505 * @deprecated 3.0.0 Use {$taxonomy}_row_actions instead. 506 506 * 507 507 * @param string[] $actions An array of action links to be displayed. Default 508 * 'Edit', 'Quick Edit', 'Delete', and 'View'.508 * 'Edit', 'Quick edit', 'Delete', and 'View'. 509 509 * @param WP_Term $tag Term object. 510 510 */ 511 511 $actions = apply_filters( 'tag_row_actions', $actions, $tag ); … … 518 518 * @since 3.0.0 519 519 * 520 520 * @param string[] $actions An array of action links to be displayed. Default 521 * 'Edit', 'Quick Edit', 'Delete', and 'View'.521 * 'Edit', 'Quick edit', 'Delete', and 'View'. 522 522 * @param WP_Term $tag Term object. 523 523 */ 524 524 $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag ); … … 631 631 <tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 632 632 633 633 <fieldset> 634 <legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend>634 <legend class="inline-edit-legend"><?php _e( 'Quick edit' ); ?></legend> 635 635 <div class="inline-edit-col"> 636 636 <label> 637 637 <span class="title"><?php _ex( 'Name', 'term name' ); ?></span> -
wp-admin/includes/class-wp-theme-install-list-table.php
324 324 esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ), 325 325 /* translators: %s: Theme name. */ 326 326 esc_attr( sprintf( __( 'Install %s' ), $name ) ), 327 __( 'Install Now' )327 __( 'Install now' ) 328 328 ); 329 329 break; 330 330 } … … 343 343 * @since 3.4.0 344 344 * 345 345 * @param string[] $actions An array of theme action links. Defaults are 346 * links to Install Now, Preview, and Details.346 * links to Install now, Preview, and Details. 347 347 * @param WP_Theme $theme Theme object. 348 348 */ 349 349 $actions = apply_filters( 'theme_install_actions', $actions, $theme ); -
wp-admin/includes/class-wp-themes-list-table.php
220 220 $actions['preview'] .= sprintf( 221 221 '<a href="%s" class="load-customize hide-if-no-customize">%s</a>', 222 222 wp_customize_url( $stylesheet ), 223 __( 'Live Preview' )223 __( 'Live preview' ) 224 224 ); 225 225 } 226 226 -
wp-admin/includes/dashboard.php
58 58 59 59 // QuickPress Widget 60 60 if ( is_blog_admin() && current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { 61 $quick_draft_title = sprintf( '<span class="hide-if-no-js">%1$s</span> <span class="hide-if-js">%2$s</span>', __( 'Quick Draft' ), __( 'Your Recent Drafts' ) );61 $quick_draft_title = sprintf( '<span class="hide-if-no-js">%1$s</span> <span class="hide-if-js">%2$s</span>', __( 'Quick Draft' ), __( 'Your recent drafts' ) ); 62 62 wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' ); 63 63 } 64 64 … … 255 255 /** 256 256 * Dashboard widget that displays some basic stats about the site. 257 257 * 258 * Formerly 'Right Now'. A streamlined 'At a Glance' as of 3.8.258 * Formerly 'Right Now'. A streamlined 'At a glance' as of 3.8. 259 259 * 260 260 * @since 2.7.0 261 261 */ … … 307 307 } 308 308 309 309 /** 310 * Filters the array of extra elements to list in the 'At a Glance'310 * Filters the array of extra elements to list in the 'At a glance' 311 311 * dashboard widget. 312 312 * 313 313 * Prior to 3.8.0, the widget was named 'Right Now'. Each element … … 315 315 * 316 316 * @since 3.8.0 317 317 * 318 * @param string[] $items Array of extra 'At a Glance' widget items.318 * @param string[] $items Array of extra 'At a glance' widget items. 319 319 */ 320 320 $elements = apply_filters( 'dashboard_glance_items', array() ); 321 321 … … 333 333 334 334 /** 335 335 * Filters the link title attribute for the 'Search Engines Discouraged' 336 * message displayed in the 'At a Glance' dashboard widget.336 * message displayed in the 'At a glance' dashboard widget. 337 337 * 338 338 * Prior to 3.8.0, the widget was named 'Right Now'. 339 339 * … … 346 346 347 347 /** 348 348 * Filters the link label for the 'Search Engines Discouraged' message 349 * displayed in the 'At a Glance' dashboard widget.349 * displayed in the 'At a glance' dashboard widget. 350 350 * 351 351 * Prior to 3.8.0, the widget was named 'Right Now'. 352 352 * … … 369 369 ob_start(); 370 370 371 371 /** 372 * Fires at the end of the 'At a Glance' dashboard widget.372 * Fires at the end of the 'At a glance' dashboard widget. 373 373 * 374 374 * Prior to 3.8.0, the widget was named 'Right Now'. 375 375 * … … 378 378 do_action( 'rightnow_end' ); 379 379 380 380 /** 381 * Fires at the end of the 'At a Glance' dashboard widget.381 * Fires at the end of the 'At a glance' dashboard widget. 382 382 * 383 383 * Prior to 3.8.0, the widget was named 'Right Now'. 384 384 * … … 446 446 447 447 <form action="<?php echo network_admin_url( 'users.php' ); ?>" method="get"> 448 448 <p> 449 <label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label>449 <label class="screen-reader-text" for="search-users"><?php _e( 'Search users' ); ?></label> 450 450 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/> 451 <?php submit_button( __( 'Search Users' ), '', false, false, array( 'id' => 'submit_users' ) ); ?>451 <?php submit_button( __( 'Search users' ), '', false, false, array( 'id' => 'submit_users' ) ); ?> 452 452 </p> 453 453 </form> 454 454 455 455 <form action="<?php echo network_admin_url( 'sites.php' ); ?>" method="get"> 456 456 <p> 457 <label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label>457 <label class="screen-reader-text" for="search-sites"><?php _e( 'Search sites' ); ?></label> 458 458 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/> 459 <?php submit_button( __( 'Search Sites' ), '', false, false, array( 'id' => 'submit_sites' ) ); ?>459 <?php submit_button( __( 'Search sites' ), '', false, false, array( 'id' => 'submit_sites' ) ); ?> 460 460 </p> 461 461 </form> 462 462 <?php … … 539 539 <input type="hidden" name="post_ID" value="<?php echo $post_ID; ?>" /> 540 540 <input type="hidden" name="post_type" value="post" /> 541 541 <?php wp_nonce_field( 'add-post' ); ?> 542 <?php submit_button( __( 'Save Draft' ), 'primary', 'save', false, array( 'id' => 'save-post' ) ); ?>542 <?php submit_button( __( 'Save draft' ), 'primary', 'save', false, array( 'id' => 'save-post' ) ); ?> 543 543 <br class="clear" /> 544 544 </p> 545 545 … … 709 709 $delete_url, 710 710 "delete:the-comment-list:comment-{$comment->comment_ID}::trash=1", 711 711 esc_attr__( 'Delete this comment permanently' ), 712 __( 'Delete Permanently' )712 __( 'Delete permanently' ) 713 713 ); 714 714 } else { 715 715 $actions['trash'] = sprintf( … … 1763 1763 <div class="welcome-panel-column"> 1764 1764 <?php if ( current_user_can( 'customize' ) ) : ?> 1765 1765 <h3><?php _e( 'Get Started' ); ?></h3> 1766 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a>1766 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize your site' ); ?></a> 1767 1767 <?php endif; ?> 1768 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a>1768 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize your site' ); ?></a> 1769 1769 <?php if ( current_user_can( 'install_themes' ) || ( current_user_can( 'switch_themes' ) && count( wp_get_themes( array( 'allowed' => true ) ) ) > 1 ) ) : ?> 1770 1770 <?php $themes_link = current_user_can( 'customize' ) ? add_query_arg( 'autofocus[panel]', 'themes', admin_url( 'customize.php' ) ) : admin_url( 'themes.php' ); ?> 1771 1771 <p class="hide-if-no-customize"> -
wp-admin/includes/deprecated.php
1131 1131 /** 1132 1132 * This was once used to display a meta box for the nav menu theme locations. 1133 1133 * 1134 * Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen.1134 * Deprecated in favor of a 'Manage locations' tab added to nav menus management screen. 1135 1135 * 1136 1136 * @since 3.0.0 1137 1137 * @deprecated 3.6.0 -
wp-admin/includes/media.php
641 641 '<button type="button"%s class="button insert-media add_media" data-editor="%s">%s</button>', 642 642 $id_attribute, 643 643 esc_attr( $editor_id ), 644 $img . __( 'Add Media' )644 $img . __( 'Add media' ) 645 645 ); 646 646 647 647 /** … … 1437 1437 1438 1438 $form_fields['image_alt'] = array( 1439 1439 'value' => $alt, 1440 'label' => __( 'Alternative Text' ),1440 'label' => __( 'Alternative text' ), 1441 1441 'helps' => __( 'Alt text for the image, e.g. “The Mona Lisa”' ), 1442 1442 ); 1443 1443 … … 1636 1636 1637 1637 if ( wp_attachment_is_image( $post->ID ) && wp_image_editor_supports( array( 'mime_type' => $post->post_mime_type ) ) ) { 1638 1638 $nonce = wp_create_nonce( "image_editor-$post->ID" ); 1639 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>";1639 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit image' ) . "' /> <span class='spinner'></span>"; 1640 1640 } 1641 1641 1642 1642 $attachment_url = get_permalink( $attachment_id ); … … 1688 1688 $delete = empty( $parsed_args['delete'] ) ? '' : $parsed_args['delete']; 1689 1689 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1690 1690 if ( ! EMPTY_TRASH_DAYS ) { 1691 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete-permanently'>" . __( 'Delete Permanently' ) . '</a>';1691 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete-permanently'>" . __( 'Delete permanently' ) . '</a>'; 1692 1692 } elseif ( ! MEDIA_TRASH ) { 1693 1693 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1694 1694 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" . … … 2186 2186 <div id="drag-drop-area"> 2187 2187 <div class="drag-drop-inside"> 2188 2188 <p class="drag-drop-info"><?php _e( 'Drop files to upload' ); ?></p> 2189 <p><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p>2190 <p class="drag-drop-buttons"><input id="plupload-browse-button" type="button" value="<?php esc_attr_e( 'Select Files' ); ?>" class="button" /></p>2189 <p><?php _ex( 'or', 'Uploader: Drop files here - or - Select files' ); ?></p> 2190 <p class="drag-drop-buttons"><input id="plupload-browse-button" type="button" value="<?php esc_attr_e( 'Select files' ); ?>" class="button" /></p> 2191 2191 </div> 2192 2192 </div> 2193 2193 <?php … … 2906 2906 2907 2907 <tr class="image-only"> 2908 2908 <th scope="row" class="label"> 2909 <label for="alt"><span class="alignleft">' . __( 'Alternative Text' ) . '</span></label>2909 <label for="alt"><span class="alignleft">' . __( 'Alternative text' ) . '</span></label> 2910 2910 </th> 2911 2911 <td class="field"><input id="alt" name="alt" value="" type="text" required /> 2912 2912 <p class="help">' . __( 'Alt text for the image, e.g. “The Mona Lisa”' ) . '</p></td> … … 3074 3074 $image_edit_button = ''; 3075 3075 if ( wp_image_editor_supports( array( 'mime_type' => $post->post_mime_type ) ) ) { 3076 3076 $nonce = wp_create_nonce( "image_editor-$post->ID" ); 3077 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>";3077 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit image' ) . "' /> <span class='spinner'></span>"; 3078 3078 } 3079 3079 3080 3080 $open_style = ''; … … 3163 3163 <div class="wp_attachment_details edit-form-section"> 3164 3164 <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?> 3165 3165 <p class="attachment-alt-text"> 3166 <label for="attachment_alt"><strong><?php _e( 'Alternative Text' ); ?></strong></label><br />3166 <label for="attachment_alt"><strong><?php _e( 'Alternative text' ); ?></strong></label><br /> 3167 3167 <input type="text" class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" aria-describedby="alt-text-description" value="<?php echo esc_attr( $alt_text ); ?>" /> 3168 3168 </p> 3169 3169 <p class="attachment-alt-text-description" id="alt-text-description"> -
wp-admin/includes/meta-boxes.php
44 44 $private_style = 'style="display:none"'; 45 45 } 46 46 ?> 47 <input <?php echo $private_style; ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e( 'Save Draft' ); ?>" class="button" />47 <input <?php echo $private_style; ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e( 'Save draft' ); ?>" class="button" /> 48 48 <span class="spinner"></span> 49 49 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?> 50 50 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e( 'Save as Pending' ); ?>" class="button" /> … … 312 312 <?php 313 313 if ( current_user_can( 'delete_post', $post->ID ) ) { 314 314 if ( ! EMPTY_TRASH_DAYS ) { 315 $delete_text = __( 'Delete Permanently' );315 $delete_text = __( 'Delete permanently' ); 316 316 } else { 317 317 $delete_text = __( 'Move to Trash' ); 318 318 } … … 419 419 echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to Trash' ) . '</a>'; 420 420 } else { 421 421 $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; 422 echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete Permanently' ) . '</a>';422 echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete permanently' ) . '</a>'; 423 423 } 424 424 } 425 425 ?> … … 1087 1087 ?> 1088 1088 <div id="taxonomy-linkcategory" class="categorydiv"> 1089 1089 <ul id="category-tabs" class="category-tabs"> 1090 <li class="tabs"><a href="#categories-all"><?php _e( 'All Categories' ); ?></a></li>1090 <li class="tabs"><a href="#categories-all"><?php _e( 'All categories' ); ?></a></li> 1091 1091 <li class="hide-if-no-js"><a href="#categories-pop"><?php _ex( 'Most Used', 'categories' ); ?></a></li> 1092 1092 </ul> 1093 1093 … … 1110 1110 </div> 1111 1111 1112 1112 <div id="category-adder" class="wp-hidden-children"> 1113 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a>1113 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add new category' ); ?></a> 1114 1114 <p id="link-category-add" class="wp-hidden-child"> 1115 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>1115 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add new category' ); ?></label> 1116 1116 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 1117 1117 <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" /> 1118 1118 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> -
wp-admin/includes/ms.php
1129 1129 'title' => __( 'Overview' ), 1130 1130 'content' => 1131 1131 '<p>' . __( 'The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.' ) . '</p>' . 1132 '<p>' . __( '<strong>Info</strong> — The site URL is rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.' ) . '</p>' .1132 '<p>' . __( '<strong>Info</strong> — The site URL is rarely edited as this can cause the site to not work properly. The Registered date and Last updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.' ) . '</p>' . 1133 1133 '<p>' . __( '<strong>Users</strong> — This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network.' ) . '</p>' . 1134 1134 '<p>' . sprintf( 1135 1135 /* translators: %s: URL to Network Themes screen. */ -
wp-admin/includes/nav-menu.php
298 298 </p> 299 299 300 300 <p id="menu-item-name-wrap" class="wp-clearfix"> 301 <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label>301 <label class="howto" for="custom-menu-item-name"><?php _e( 'Link text' ); ?></label> 302 302 <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="regular-text menu-item-textbox" /> 303 303 </p> 304 304 305 305 <p class="button-controls wp-clearfix"> 306 306 <span class="add-to-menu"> 307 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to Menu' ); ?>" name="add-custom-menu-item" id="submit-customlinkdiv" />307 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu' ); ?>" name="add-custom-menu-item" id="submit-customlinkdiv" /> 308 308 <span class="spinner"></span> 309 309 </span> 310 310 </p> … … 502 502 <ul id="posttype-<?php echo $post_type_name; ?>-tabs" class="posttype-tabs add-menu-item-tabs"> 503 503 <li <?php echo ( 'most-recent' == $current_tab ? ' class="tabs"' : '' ); ?>> 504 504 <a class="nav-tab-link" data-type="tabs-panel-posttype-<?php echo esc_attr( $post_type_name ); ?>-most-recent" href="<?php echo $most_recent_url; ?>#tabs-panel-posttype-<?php echo $post_type_name; ?>-most-recent"> 505 <?php _e( 'Most Recent' ); ?>505 <?php _e( 'Most recent' ); ?> 506 506 </a> 507 507 </li> 508 508 <li <?php echo ( 'all' == $current_tab ? ' class="tabs"' : '' ); ?>> 509 509 <a class="nav-tab-link" data-type="<?php echo esc_attr( $post_type_name ); ?>-all" href="<?php echo $view_all_url; ?>#<?php echo $post_type_name; ?>-all"> 510 <?php _e( 'View All' ); ?>510 <?php _e( 'View all' ); ?> 511 511 </a> 512 512 </li> 513 513 <li <?php echo ( 'search' == $current_tab ? ' class="tabs"' : '' ); ?>> … … 532 532 $args['walker'] = $walker; 533 533 534 534 /** 535 * Filters the posts displayed in the 'Most Recent' tab of the current535 * Filters the posts displayed in the 'Most recent' tab of the current 536 536 * post type's menu items meta box. 537 537 * 538 538 * The dynamic portion of the hook name, `$post_type_name`, refers to the post type name. … … 543 543 * @param WP_Post[] $most_recent An array of post objects being listed. 544 544 * @param array $args An array of `WP_Query` arguments for the meta box. 545 545 * @param array $box Arguments passed to `wp_nav_menu_item_post_type_meta_box()`. 546 * @param array $recent_args An array of `WP_Query` arguments for 'Most Recent' tab.546 * @param array $recent_args An array of `WP_Query` arguments for 'Most recent' tab. 547 547 */ 548 548 $most_recent = apply_filters( "nav_menu_items_{$post_type_name}_recent", $most_recent, $args, $box, $recent_args ); 549 549 … … 621 621 } 622 622 623 623 /** 624 * Filters the posts displayed in the 'View All' tab of the current624 * Filters the posts displayed in the 'View all' tab of the current 625 625 * post type's menu items meta box. 626 626 * 627 627 * The dynamic portion of the hook name, `$post_type_name`, refers … … 654 654 <p class="button-controls wp-clearfix" data-items-type="posttype-<?php echo esc_attr( $post_type_name ); ?>"> 655 655 <span class="list-controls hide-if-no-js"> 656 656 <input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $post_type_name . '-tab' ); ?>" class="select-all" /> 657 <label for="<?php echo esc_attr( $post_type_name . '-tab' ); ?>"><?php _e( 'Select All' ); ?></label>657 <label for="<?php echo esc_attr( $post_type_name . '-tab' ); ?>"><?php _e( 'Select all' ); ?></label> 658 658 </span> 659 659 660 660 <span class="add-to-menu"> 661 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to Menu' ); ?>" name="add-post-type-menu-item" id="<?php echo esc_attr( 'submit-posttype-' . $post_type_name ); ?>" />661 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu' ); ?>" name="add-post-type-menu-item" id="<?php echo esc_attr( 'submit-posttype-' . $post_type_name ); ?>" /> 662 662 <span class="spinner"></span> 663 663 </span> 664 664 </p> … … 793 793 </li> 794 794 <li <?php echo ( 'all' == $current_tab ? ' class="tabs"' : '' ); ?>> 795 795 <a class="nav-tab-link" data-type="tabs-panel-<?php echo esc_attr( $taxonomy_name ); ?>-all" href="<?php echo $view_all_url; ?>#tabs-panel-<?php echo $taxonomy_name; ?>-all"> 796 <?php _e( 'View All' ); ?>796 <?php _e( 'View all' ); ?> 797 797 </a> 798 798 </li> 799 799 <li <?php echo ( 'search' == $current_tab ? ' class="tabs"' : '' ); ?>> … … 883 883 <p class="button-controls wp-clearfix" data-items-type="taxonomy-<?php echo esc_attr( $taxonomy_name ); ?>"> 884 884 <span class="list-controls hide-if-no-js"> 885 885 <input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>" class="select-all" /> 886 <label for="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>"><?php _e( 'Select All' ); ?></label>886 <label for="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>"><?php _e( 'Select all' ); ?></label> 887 887 </span> 888 888 889 889 <span class="add-to-menu"> 890 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to Menu' ); ?>" name="add-taxonomy-menu-item" id="<?php echo esc_attr( 'submit-taxonomy-' . $taxonomy_name ); ?>" />890 <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu' ); ?>" name="add-taxonomy-menu-item" id="<?php echo esc_attr( 'submit-taxonomy-' . $taxonomy_name ); ?>" /> 891 891 <span class="spinner"></span> 892 892 </span> 893 893 </p> … … 1065 1065 } 1066 1066 1067 1067 if ( $some_pending_menu_items ) { 1068 $result .= '<div class="notice notice-info notice-alt inline"><p>' . __( 'Click Save Menu to make pending menu items public.' ) . '</p></div>';1068 $result .= '<div class="notice notice-info notice-alt inline"><p>' . __( 'Click Save menu to make pending menu items public.' ) . '</p></div>'; 1069 1069 } 1070 1070 1071 1071 if ( $some_invalid_menu_items ) { -
wp-admin/includes/plugin-install.php
352 352 <?php wp_nonce_field( 'plugin-upload' ); ?> 353 353 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label> 354 354 <input type="file" id="pluginzip" name="pluginzip" /> 355 <?php submit_button( __( 'Install Now' ), '', 'install-plugin-submit', false ); ?>355 <?php submit_button( __( 'Install now' ), '', 'install-plugin-submit', false ); ?> 356 356 </form> 357 357 </div> 358 358 <?php … … 373 373 <p> 374 374 <label for="user"><?php _e( 'Your WordPress.org username:' ); ?></label> 375 375 <input type="search" id="user" name="user" value="<?php echo esc_attr( $user ); ?>" /> 376 <input type="submit" class="button" value="<?php esc_attr_e( 'Get Favorites' ); ?>" />376 <input type="submit" class="button" value="<?php esc_attr_e( 'Get favorites' ); ?>" /> 377 377 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> 378 378 </p> 379 379 </form> … … 649 649 <?php } if ( ! empty( $api->author ) ) { ?> 650 650 <li><strong><?php _e( 'Author:' ); ?></strong> <?php echo links_add_target( $api->author, '_blank' ); ?></li> 651 651 <?php } if ( ! empty( $api->last_updated ) ) { ?> 652 <li><strong><?php _e( 'Last Updated:' ); ?></strong>652 <li><strong><?php _e( 'Last updated:' ); ?></strong> 653 653 <?php 654 654 /* translators: %s: Human-readable time difference. */ 655 655 printf( __( '%s ago' ), human_time_diff( strtotime( $api->last_updated ) ) ); … … 657 657 </li> 658 658 <?php } if ( ! empty( $api->requires ) ) { ?> 659 659 <li> 660 <strong><?php _e( 'Requires WordPress Version:' ); ?></strong>660 <strong><?php _e( 'Requires WordPress version:' ); ?></strong> 661 661 <?php 662 662 /* translators: %s: Version number. */ 663 663 printf( __( '%s or higher' ), $api->requires ); … … 667 667 <li><strong><?php _e( 'Compatible up to:' ); ?></strong> <?php echo $api->tested; ?></li> 668 668 <?php } if ( ! empty( $api->requires_php ) ) { ?> 669 669 <li> 670 <strong><?php _e( 'Requires PHP Version:' ); ?></strong>670 <strong><?php _e( 'Requires PHP version:' ); ?></strong> 671 671 <?php 672 672 /* translators: %s: Version number. */ 673 673 printf( __( '%s or higher' ), $api->requires_php ); … … 674 674 ?> 675 675 </li> 676 676 <?php } if ( isset( $api->active_installs ) ) { ?> 677 <li><strong><?php _e( 'Active Installations:' ); ?></strong>677 <li><strong><?php _e( 'Active installations:' ); ?></strong> 678 678 <?php 679 679 if ( $api->active_installs >= 1000000 ) { 680 680 $active_installs_millions = floor( $api->active_installs / 1000000 ); 681 681 printf( 682 682 /* translators: %s: Number of millions. */ 683 _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),683 _nx( '%s+ million', '%s+ million', $active_installs_millions, 'Active plugin installations' ), 684 684 number_format_i18n( $active_installs_millions ) 685 685 ); 686 686 } elseif ( 0 == $api->active_installs ) { 687 _ex( 'Less Than 10', 'Active plugin installations' );687 _ex( 'Less than 10', 'Active plugin installations' ); 688 688 } else { 689 689 echo number_format_i18n( $api->active_installs ) . '+'; 690 690 } … … 691 691 ?> 692 692 </li> 693 693 <?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?> 694 <li><a target="_blank" href="<?php echo __( 'https://wordpress.org/plugins/' ) . $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>694 <li><a target="_blank" href="<?php echo __( 'https://wordpress.org/plugins/' ) . $api->slug; ?>/"><?php _e( 'WordPress.org plugin page »' ); ?></a></li> 695 695 <?php } if ( ! empty( $api->homepage ) ) { ?> 696 <li><a target="_blank" href="<?php echo esc_url( $api->homepage ); ?>"><?php _e( 'Plugin Homepage »' ); ?></a></li>696 <li><a target="_blank" href="<?php echo esc_url( $api->homepage ); ?>"><?php _e( 'Plugin homepage »' ); ?></a></li> 697 697 <?php } if ( ! empty( $api->donate_link ) && empty( $api->contributors ) ) { ?> 698 698 <li><a target="_blank" href="<?php echo esc_url( $api->donate_link ); ?>"><?php _e( 'Donate to this plugin »' ); ?></a></li> 699 699 <?php } ?> 700 700 </ul> 701 701 <?php if ( ! empty( $api->rating ) ) { ?> 702 <h3><?php _e( 'Average Rating' ); ?></h3>702 <h3><?php _e( 'Average rating' ); ?></h3> 703 703 <?php 704 704 wp_star_rating( 705 705 array( … … 851 851 case 'install': 852 852 if ( $status['url'] ) { 853 853 if ( $compatible_php && $compatible_wp ) { 854 echo '<a data-slug="' . esc_attr( $api->slug ) . '" id="plugin_install_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Now' ) . '</a>';854 echo '<a data-slug="' . esc_attr( $api->slug ) . '" id="plugin_install_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install now' ) . '</a>'; 855 855 } else { 856 856 printf( 857 857 '<button type="button" class="button button-primary button-disabled right" disabled="disabled">%s</button>', 858 _x( 'Cannot Install', 'plugin' )858 _x( 'Cannot install', 'plugin' ) 859 859 ); 860 860 } 861 861 } … … 863 863 case 'update_available': 864 864 if ( $status['url'] ) { 865 865 if ( $compatible_php ) { 866 echo '<a data-slug="' . esc_attr( $api->slug ) . '" data-plugin="' . esc_attr( $status['file'] ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Update Now' ) . '</a>';866 echo '<a data-slug="' . esc_attr( $api->slug ) . '" data-plugin="' . esc_attr( $status['file'] ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install update now' ) . '</a>'; 867 867 } else { 868 868 printf( 869 869 '<button type="button" class="button button-primary button-disabled right" disabled="disabled">%s</button>', 870 _x( 'Cannot Update', 'plugin' )870 _x( 'Cannot update', 'plugin' ) 871 871 ); 872 872 } 873 873 } -
wp-admin/includes/template.php
487 487 <div id="replysubmit" class="submit"> 488 488 <p class="reply-submit-buttons"> 489 489 <button type="button" class="save button button-primary"> 490 <span id="addbtn" style="display: none;"><?php _e( 'Add Comment' ); ?></span>491 <span id="savebtn" style="display: none;"><?php _e( 'Update Comment' ); ?></span>492 <span id="replybtn" style="display: none;"><?php _e( 'Submit Reply' ); ?></span>490 <span id="addbtn" style="display: none;"><?php _e( 'Add comment' ); ?></span> 491 <span id="savebtn" style="display: none;"><?php _e( 'Update comment' ); ?></span> 492 <span id="replybtn" style="display: none;"><?php _e( 'Submit reply' ); ?></span> 493 493 </button> 494 494 <button type="button" class="cancel button"><?php _e( 'Cancel' ); ?></button> 495 495 <span class="waiting spinner"></span> … … 2320 2320 * 2321 2321 * @see get_submit_button() 2322 2322 * 2323 * @param string $text The text of the button (defaults to 'Save Changes')2323 * @param string $text The text of the button (defaults to 'Save changes') 2324 2324 * @param string $type Optional. The type and CSS class(es) of the button. Core values 2325 2325 * include 'primary', 'small', and 'large'. Default 'primary'. 2326 2326 * @param string $name The HTML name of the submit button. Defaults to "submit". If no … … 2344 2344 * 2345 2345 * @since 3.1.0 2346 2346 * 2347 * @param string $text Optional. The text of the button. Default 'Save Changes'.2347 * @param string $text Optional. The text of the button. Default 'Save changes'. 2348 2348 * @param string $type Optional. The type and CSS class(es) of the button. Core values 2349 2349 * include 'primary', 'small', and 'large'. Default 'primary large'. 2350 2350 * @param string $name Optional. The HTML name of the submit button. Defaults to "submit". … … 2376 2376 // Remove empty items, remove duplicate items, and finally build a string. 2377 2377 $class = implode( ' ', array_unique( array_filter( $classes ) ) ); 2378 2378 2379 $text = $text ? $text : __( 'Save Changes' );2379 $text = $text ? $text : __( 'Save changes' ); 2380 2380 2381 2381 // Default the id attribute to $name unless an id was specifically provided in $other_attributes 2382 2382 $id = $name; -
wp-admin/includes/theme-install.php
136 136 function install_themes_dashboard() { 137 137 install_theme_search_form( false ); 138 138 ?> 139 <h4><?php _e( 'Feature Filter' ); ?></h4>139 <h4><?php _e( 'Feature filter' ); ?></h4> 140 140 <p class="install-help"><?php _e( 'Find a theme based on specific features.' ); ?></p> 141 141 142 142 <form method="get"> … … 184 184 <?php wp_nonce_field( 'theme-upload' ); ?> 185 185 <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label> 186 186 <input type="file" id="themezip" name="themezip" /> 187 <?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?>187 <?php submit_button( __( 'Install now' ), '', 'install-theme-submit', false ); ?> 188 188 </form> 189 189 <?php 190 190 } -
wp-admin/includes/theme.php
753 753 754 754 <# if ( data.hasUpdate ) { #> 755 755 <div class="notice notice-warning notice-alt notice-large" data-slug="{{ data.id }}"> 756 <h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>756 <h3 class="notice-title"><?php _e( 'Update available' ); ?></h3> 757 757 {{{ data.update }}} 758 758 </div> 759 759 <# } #> … … 787 787 <a href="{{{ data.actions['delete'] }}}" data-slug="{{ data.id }}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a> 788 788 <# } #> 789 789 <?php } ?> 790 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button>790 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live preview' ); ?></button> 791 791 <# } else { #> 792 792 <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button> 793 793 <button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button> -
wp-admin/includes/update.php
244 244 '<strong><a href="%s">%s</a></strong>', 245 245 network_admin_url( 'update-core.php' ), 246 246 /* translators: %s: WordPress version. */ 247 sprintf( __( 'Get Version %s' ), $cur->current )247 sprintf( __( 'Get version %s' ), $cur->current ) 248 248 ); 249 249 250 250 case 'latest': … … 327 327 $content = __( 'WordPress %1$s running %2$s theme.' ); 328 328 329 329 /** 330 * Filters the text displayed in the 'At a Glance' dashboard widget.330 * Filters the text displayed in the 'At a glance' dashboard widget. 331 331 * 332 332 * Prior to 3.8.0, the widget was named 'Right Now'. 333 333 * -
wp-admin/index.php
58 58 ); 59 59 60 60 $help = '<p>' . __( 'You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.' ) . '</p>'; 61 $help .= '<p>' . __( '<strong>Screen Options</strong> — Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '</p>';61 $help .= '<p>' . __( '<strong>Screen options</strong> — Use the Screen options tab to choose which Dashboard boxes to show.' ) . '</p>'; 62 62 $help .= '<p>' . __( '<strong>Drag and Drop</strong> — To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.' ) . '</p>'; 63 63 $help .= '<p>' . __( '<strong>Box Controls</strong> — Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.' ) . '</p>'; 64 64 -
wp-admin/install.php
180 180 <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 181 181 </tr> 182 182 <tr> 183 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?></th>183 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search engine visibility' ); ?></th> 184 184 <td> 185 185 <fieldset> 186 <legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>186 <legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search engine visibility' ); ?> </span></legend> 187 187 <?php 188 188 if ( has_action( 'blog_privacy_selector' ) ) { 189 189 ?> -
wp-admin/js/customize-widgets.js
2277 2277 }; 2278 2278 2279 2279 /** 2280 * Initialize Edit Menu button in Nav Menu widget.2280 * Initialize Edit menu button in Nav Menu widget. 2281 2281 */ 2282 2282 $( document ).on( 'widget-added', function( event, widgetContainer ) { 2283 2283 var parsedWidgetId, widgetControl, navMenuSelect, editMenuButton; -
wp-admin/js/edit-comments.js
170 170 171 171 // Update the "comment in moderation" text across the UI. 172 172 $( '.comments-in-moderation-text' ).text( response.i18n_moderation_text ); 173 // Hide the "comment in moderation" text in the Dashboard "At a Glance" widget.173 // Hide the "comment in moderation" text in the Dashboard "At a glance" widget. 174 174 if ( isDashboard && response.in_moderation ) { 175 175 $( '.comment-mod-count', '#dashboard_right_now' ) 176 176 [ response.in_moderation > 0 ? 'removeClass' : 'addClass' ]( 'hidden' ); … … 419 419 el = $('#comment-' + id); 420 420 note = $('#' + action + '-undo-holder').html(); 421 421 422 el.find('.check-column :checkbox').prop('checked', false); // Uncheck the row so as not to be affected by Bulk Edits.422 el.find('.check-column :checkbox').prop('checked', false); // Uncheck the row so as not to be affected by bulk edits. 423 423 424 424 if ( el.siblings('#replyrow').length && commentReply.cid == id ) 425 425 commentReply.close(); … … 608 608 approvedDiff = -1; 609 609 pendingDiff = 1; 610 610 611 // User clicked "Delete Permanently"611 // User clicked "Delete permanently" 612 612 } else if ( targetParent.is( 'span.delete' ) ) { 613 613 if ( spammed ) { 614 614 spamDiff = -1; … … 891 891 } 892 892 893 893 /* 894 * When closing the Quick Edit form, show the comment row and move focus895 * back to the Quick Edit button.894 * When closing the Quick edit form, show the comment row and move focus 895 * back to the Quick edit button. 896 896 */ 897 897 if ( 'edit-comment' === this.act ) { 898 898 commentRow.fadeIn( 300, function() { … … 1325 1325 ); 1326 1326 } 1327 1327 1328 // Quick Edit and Reply have an inline comment editor.1328 // Quick edit and Reply have an inline comment editor. 1329 1329 $( '#the-comment-list' ).on( 'click', '.comment-inline', function() { 1330 1330 var $el = $( this ), 1331 1331 action = 'replyto'; -
wp-admin/js/editor.js
730 730 731 731 /** 732 732 * Marking the start and end element with `data-mce-object-selection` helps 733 * discern when the selected object is a Live Preview selection.733 * discern when the selected object is a Live preview selection. 734 734 * 735 735 * This way we can adjust the selection to properly select only the content, ignoring 736 736 * whitespace inserted around the selected object by the Editor. … … 790 790 791 791 if (endMatch) { 792 792 /** 793 * Adjust the selection index, if the selection contains a Live Preview object or not.793 * Adjust the selection index, if the selection contains a Live preview object or not. 794 794 * 795 795 * Check where the `data-mce-object-selection` attribute is set above for more context. 796 796 */ … … 1275 1275 var $editorTools = $( '<div class="wp-editor-tools">' ); 1276 1276 1277 1277 if ( settings.mediaButtons ) { 1278 var buttonText = 'Add Media';1278 var buttonText = 'Add media'; 1279 1279 1280 1280 if ( window._wpMediaViewsL10n && window._wpMediaViewsL10n.addMedia ) { 1281 1281 buttonText = window._wpMediaViewsL10n.addMedia; -
wp-admin/js/inline-edit-post.js
223 223 if ( 'post' === type ) { 224 224 $( 'tr.inline-editor textarea[data-wp-taxonomy]' ).each( function ( i, element ) { 225 225 /* 226 * While Quick Edit clones the form each time, Bulk Edit always re-uses226 * While Quick edit clones the form each time, Bulk edit always re-uses 227 227 * the same form. Let's check if an autocomplete instance already exists. 228 228 */ 229 229 if ( $( element ).autocomplete( 'instance' ) ) { … … 381 381 382 382 /** 383 383 * Saves the changes made in the quick edit window to the post. 384 * AJAX saving is only for Quick Edit and not for bulk edit.384 * AJAX saving is only for Quick edit and not for bulk edit. 385 385 * 386 386 * @since 2.7.0 387 387 * … … 423 423 $(inlineEditPost.what+id).siblings('tr.hidden').addBack().remove(); 424 424 $('#edit-'+id).before(r).remove(); 425 425 $( inlineEditPost.what + id ).hide().fadeIn( 400, function() { 426 // Move focus back to the Quick Edit button. $( this ) is the row being animated.426 // Move focus back to the Quick edit button. $( this ) is the row being animated. 427 427 $( this ).find( '.editinline' ) 428 428 .attr( 'aria-expanded', 'false' ) 429 429 .focus(); … … 448 448 }, 449 449 450 450 /** 451 * Hides and empties the Quick Edit and/or Bulk Edit windows.451 * Hides and empties the Quick edit and/or Bulk edit windows. 452 452 * 453 453 * @memberof inlineEditPost 454 454 * @since 2.7.0 … … 480 480 $('#'+id).siblings('tr.hidden').addBack().remove(); 481 481 id = id.substr( id.lastIndexOf('-') + 1 ); 482 482 483 // Show the post row and move focus back to the Quick Edit button.483 // Show the post row and move focus back to the Quick edit button. 484 484 $( this.what + id ).show().find( '.editinline' ) 485 485 .attr( 'aria-expanded', 'false' ) 486 486 .focus(); -
wp-admin/js/inline-edit-tax.js
220 220 $( '#parent' ).find( 'option[value=' + option_value + ']' ).text( row.find( '.row-title' ).text() ); 221 221 222 222 row.hide().fadeIn( 400, function() { 223 // Move focus back to the Quick Edit button.223 // Move focus back to the Quick edit button. 224 224 row.find( '.editinline' ) 225 225 .attr( 'aria-expanded', 'false' ) 226 226 .focus(); … … 265 265 $('#'+id).siblings('tr.hidden').addBack().remove(); 266 266 id = id.substr( id.lastIndexOf('-') + 1 ); 267 267 268 // Show the taxonomy row and move focus back to the Quick Edit button.268 // Show the taxonomy row and move focus back to the Quick edit button. 269 269 $( this.what + id ).show().find( '.editinline' ) 270 270 .attr( 'aria-expanded', 'false' ) 271 271 .focus(); -
wp-admin/js/plugin-install.js
200 200 }); 201 201 202 202 /* 203 * When a user presses the "Upload Plugin" button, show the upload form in place203 * When a user presses the "Upload plugin" button, show the upload form in place 204 204 * rather than sending them to the devoted upload plugin page. 205 205 * The `?tab=upload` page still exists for no-js support and for plugins that 206 206 * might access it directly. When we're in this page, let the link behave -
wp-admin/js/post.js
799 799 wp.sanitize.stripTagsAndEncodeText( $('option:selected', postStatus).text() ) // Remove any potential tags from post status text. 800 800 ); 801 801 802 // Show or hide the "Save Draft" button.802 // Show or hide the "Save draft" button. 803 803 if ( $('option:selected', postStatus).val() == 'private' || $('option:selected', postStatus).val() == 'publish' ) { 804 804 $('#save-post').hide(); 805 805 } else { -
wp-admin/js/tags-suggest.js
113 113 window.tagBox.flushTags( $( this ).closest( '.tagsdiv' ) ); 114 114 } 115 115 116 // Do not close Quick Edit / Bulk Edit116 // Do not close Quick edit / Bulk edit 117 117 event.preventDefault(); 118 118 event.stopPropagation(); 119 119 } -
wp-admin/js/theme.js
649 649 } 650 650 }); 651 651 652 // Theme Details view652 // Theme details view 653 653 // Set ups a modal overlay with the expanded theme data 654 654 themes.view.Details = wp.Backbone.View.extend({ 655 655 … … 1831 1831 activeClass: 'current', 1832 1832 1833 1833 /* 1834 * When users press the "Upload Theme" button, show the upload form in place.1834 * When users press the "Upload theme" button, show the upload form in place. 1835 1835 */ 1836 1836 uploader: function() { 1837 1837 var uploadViewToggle = $( '.upload-view-toggle' ), -
wp-admin/js/updates.js
1150 1150 1151 1151 if ( response.customizeUrl ) { 1152 1152 1153 // Transform the 'Preview' button into a 'Live Preview' button.1153 // Transform the 'Preview' button into a 'Live preview' button. 1154 1154 $message.siblings( '.preview' ).replaceWith( function () { 1155 1155 return $( '<a>' ) 1156 1156 .attr( 'href', response.customizeUrl ) … … 2243 2243 } 2244 2244 2245 2245 /** 2246 * Handles changes to the plugin search box on the Installed Plugins screen,2246 * Handles changes to the plugin search box on the Installed plugins screen, 2247 2247 * searching the plugin list dynamically. 2248 2248 * 2249 2249 * @since 4.6.0 -
wp-admin/js/widgets/media-widgets.js
272 272 /** 273 273 * Handle render failure. 274 274 * 275 * Overrides the {EmbedLink#renderFail()} method to prevent showing the "Link Text" field.275 * Overrides the {EmbedLink#renderFail()} method to prevent showing the "Link text" field. 276 276 * The element is getting display:none in the stylesheet, but the underlying method uses 277 277 * uses {jQuery.fn.show()} which adds an inline style. This avoids the need for !important. 278 278 * -
wp-admin/link-add.php
13 13 wp_die( __( 'Sorry, you are not allowed to add links to this site.' ) ); 14 14 } 15 15 16 $title = __( 'Add New Link' );16 $title = __( 'Add new link' ); 17 17 $parent_file = 'link-manager.php'; 18 18 19 19 wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) ); -
wp-admin/link-manager.php
59 59 'widgets.php' 60 60 ) . '</p>' . 61 61 '<p>' . __( 'Links may be separated into Link Categories; these are different than the categories used on your posts.' ) . '</p>' . 62 '<p>' . __( 'You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.' ) . '</p>',62 '<p>' . __( 'You can customize the display of this screen using the Screen options tab and/or the dropdown filters above the links table.' ) . '</p>', 63 63 ) 64 64 ); 65 65 get_current_screen()->add_help_tab( -
wp-admin/media-new.php
50 50 '<p>' . __( 'You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share. There are three options for uploading files:' ) . '</p>' . 51 51 '<ul>' . 52 52 '<li>' . __( '<strong>Drag and drop</strong> your files into the area below. Multiple files are allowed.' ) . '</li>' . 53 '<li>' . __( 'Clicking <strong>Select Files</strong> opens a navigation window showing you files in your operating system. Selecting <strong>Open</strong> after clicking on the file you want activates a progress bar on the uploader screen.' ) . '</li>' .53 '<li>' . __( 'Clicking <strong>Select files</strong> opens a navigation window showing you files in your operating system. Selecting <strong>Open</strong> after clicking on the file you want activates a progress bar on the uploader screen.' ) . '</li>' . 54 54 '<li>' . __( 'Revert to the <strong>Browser Uploader</strong> by clicking the link below the drag and drop box.' ) . '</li>' . 55 55 '</ul>', 56 56 ) -
wp-admin/media.php
85 85 'title' => __( 'Overview' ), 86 86 'content' => 87 87 '<p>' . __( 'This screen allows you to edit fields for metadata in a file within the media library.' ) . '</p>' . 88 '<p>' . __( 'For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '</p>' .88 '<p>' . __( 'For images only, you can click on Edit image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '</p>' . 89 89 '<p>' . __( 'Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.' ) . '</p>' . 90 90 '<p>' . __( 'Remember to click Update Media to save metadata entered or changed.' ) . '</p>', 91 91 ) -
wp-admin/menu.php
25 25 $submenu['index.php'][0] = array( __( 'Home' ), 'read', 'index.php' ); 26 26 27 27 if ( is_multisite() ) { 28 $submenu['index.php'][5] = array( __( 'My Sites' ), 'read', 'my-sites.php' );28 $submenu['index.php'][5] = array( __( 'My sites' ), 'read', 'my-sites.php' ); 29 29 } 30 30 31 31 if ( ! is_multisite() || current_user_can( 'update_core' ) ) { … … 65 65 $menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' ); 66 66 $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' ); 67 67 /* translators: Add new file. */ 68 $submenu['upload.php'][10] = array( _x( 'Add New', 'file' ), 'upload_files', 'media-new.php' );68 $submenu['upload.php'][10] = array( _x( 'Add new', 'file' ), 'upload_files', 'media-new.php' ); 69 69 $i = 15; 70 70 foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) { 71 71 if ( ! $tax->show_ui || ! $tax->show_in_menu ) { … … 77 77 unset( $tax, $i ); 78 78 79 79 $menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' ); 80 $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' );80 $submenu['link-manager.php'][5] = array( _x( 'All links', 'admin menu' ), 'manage_links', 'link-manager.php' ); 81 81 /* translators: Add new links. */ 82 $submenu['link-manager.php'][10] = array( _x( 'Add New', 'link' ), 'manage_links', 'link-add.php' );83 $submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' );82 $submenu['link-manager.php'][10] = array( _x( 'Add new', 'link' ), 'manage_links', 'link-add.php' ); 83 $submenu['link-manager.php'][15] = array( __( 'Link categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); 84 84 85 85 // $menu[20] = Pages 86 86 … … 105 105 unset( $awaiting_mod ); 106 106 } 107 107 108 $submenu['edit-comments.php'][0] = array( __( 'All Comments' ), 'edit_posts', 'edit-comments.php' );108 $submenu['edit-comments.php'][0] = array( __( 'All comments' ), 'edit_posts', 'edit-comments.php' ); 109 109 110 110 $_wp_last_object_menu = 25; // The index of the last top-level menu in the object menu group 111 111 … … 220 220 */ 221 221 function _add_themes_utility_last() { 222 222 // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook 223 add_submenu_page( 'themes.php', __( 'Theme Editor' ), __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' );223 add_submenu_page( 'themes.php', __( 'Theme editor' ), __( 'Theme editor' ), 'edit_themes', 'theme-editor.php' ); 224 224 } 225 225 226 226 $count = ''; … … 238 238 /* translators: %s: Number of pending plugin updates. */ 239 239 $menu[65] = array( sprintf( __( 'Plugins %s' ), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' ); 240 240 241 $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'activate_plugins', 'plugins.php' );241 $submenu['plugins.php'][5] = array( __( 'Installed plugins' ), 'activate_plugins', 'plugins.php' ); 242 242 243 243 if ( ! is_multisite() ) { 244 244 /* translators: Add new plugin. */ 245 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' );246 $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' );245 $submenu['plugins.php'][10] = array( _x( 'Add new', 'plugin' ), 'install_plugins', 'plugin-install.php' ); 246 $submenu['plugins.php'][15] = array( __( 'Plugin editor' ), 'edit_plugins', 'plugin-editor.php' ); 247 247 } 248 248 249 249 unset( $update_data ); … … 256 256 257 257 if ( current_user_can( 'list_users' ) ) { 258 258 $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php. 259 $submenu['users.php'][5] = array( __( 'All Users' ), 'list_users', 'users.php' );259 $submenu['users.php'][5] = array( __( 'All users' ), 'list_users', 'users.php' ); 260 260 if ( current_user_can( 'create_users' ) ) { 261 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'create_users', 'user-new.php' );261 $submenu['users.php'][10] = array( _x( 'Add new', 'user' ), 'create_users', 'user-new.php' ); 262 262 } elseif ( is_multisite() ) { 263 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'promote_users', 'user-new.php' );263 $submenu['users.php'][10] = array( _x( 'Add new', 'user' ), 'promote_users', 'user-new.php' ); 264 264 } 265 265 266 $submenu['users.php'][15] = array( __( 'Your Profile' ), 'read', 'profile.php' );266 $submenu['users.php'][15] = array( __( 'Your profile' ), 'read', 'profile.php' ); 267 267 } else { 268 268 $_wp_real_parent_file['users.php'] = 'profile.php'; 269 $submenu['profile.php'][5] = array( __( 'Your Profile' ), 'read', 'profile.php' );269 $submenu['profile.php'][5] = array( __( 'Your profile' ), 'read', 'profile.php' ); 270 270 if ( current_user_can( 'create_users' ) ) { 271 $submenu['profile.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );271 $submenu['profile.php'][10] = array( __( 'Add new user' ), 'create_users', 'user-new.php' ); 272 272 } elseif ( is_multisite() ) { 273 $submenu['profile.php'][10] = array( __( 'Add New User' ), 'promote_users', 'user-new.php' );273 $submenu['profile.php'][10] = array( __( 'Add new user' ), 'promote_users', 'user-new.php' ); 274 274 } 275 275 } 276 276 277 277 $menu[75] = array( __( 'Tools' ), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'dashicons-admin-tools' ); 278 $submenu['tools.php'][5] = array( __( 'Available Tools' ), 'edit_posts', 'tools.php' );278 $submenu['tools.php'][5] = array( __( 'Available tools' ), 'edit_posts', 'tools.php' ); 279 279 $submenu['tools.php'][10] = array( __( 'Import' ), 'import', 'import.php' ); 280 280 $submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' ); 281 $submenu['tools.php'][20] = array( __( 'Site Health' ), 'view_site_health_checks', 'site-health.php' );282 $submenu['tools.php'][25] = array( __( 'Export Personal Data' ), 'export_others_personal_data', 'export-personal-data.php' );283 $submenu['tools.php'][30] = array( __( 'Erase Personal Data' ), 'erase_others_personal_data', 'erase-personal-data.php' );281 $submenu['tools.php'][20] = array( __( 'Site health' ), 'view_site_health_checks', 'site-health.php' ); 282 $submenu['tools.php'][25] = array( __( 'Export personal data' ), 'export_others_personal_data', 'export-personal-data.php' ); 283 $submenu['tools.php'][30] = array( __( 'Erase personal data' ), 'erase_others_personal_data', 'erase-personal-data.php' ); 284 284 if ( is_multisite() && ! is_main_site() ) { 285 $submenu['tools.php'][35] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' );285 $submenu['tools.php'][35] = array( __( 'Delete site' ), 'delete_site', 'ms-delete-site.php' ); 286 286 } 287 287 if ( ! is_multisite() && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) { 288 $submenu['tools.php'][50] = array( __( 'Network Setup' ), 'setup_network', 'network.php' );288 $submenu['tools.php'][50] = array( __( 'Network setup' ), 'setup_network', 'network.php' ); 289 289 } 290 290 291 291 $menu[80] = array( __( 'Settings' ), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); -
wp-admin/nav-menus.php
560 560 $menu_management = '<p>' . __( 'The menu management box at the top of the screen is used to control which menu is opened in the editor below.' ) . '</p>'; 561 561 $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the drop down and click Select</strong>' ) . '</li>'; 562 562 $menu_management .= '<li>' . __( 'If you haven’t yet created any menus, <strong>click the ’create a new menu’ link</strong> to get started' ) . '</li></ul>'; 563 $menu_management .= '<p>' . __( 'You can assign theme locations to individual menus by <strong>selecting the desired settings</strong> at the bottom of the menu editor. To assign menus to all theme locations at once, <strong>visit the Manage Locations tab</strong> at the top of the screen.' ) . '</p>';563 $menu_management .= '<p>' . __( 'You can assign theme locations to individual menus by <strong>selecting the desired settings</strong> at the bottom of the menu editor. To assign menus to all theme locations at once, <strong>visit the Manage locations tab</strong> at the top of the screen.' ) . '</p>'; 564 564 565 565 get_current_screen()->add_help_tab( 566 566 array( … … 571 571 ); 572 572 573 573 $editing_menus = '<p>' . __( 'Each navigation menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '</p>'; 574 $editing_menus .= '<p>' . __( '<strong>Clicking the arrow to the right of any menu item</strong> in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '</p>';575 $editing_menus .= '<ul><li>' . __( 'Add one or several items at once by <strong>selecting the checkbox next to each item and clicking Add to Menu</strong>' ) . '</li>';576 $editing_menus .= '<li>' . __( 'To add a custom link, <strong>expand the Custom Links section, enter a URL and link text, and click Add to Menu</strong>' ) . '</li>';574 $editing_menus .= '<p>' . __( '<strong>Clicking the arrow to the right of any menu item</strong> in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen options tab.' ) . '</p>'; 575 $editing_menus .= '<ul><li>' . __( 'Add one or several items at once by <strong>selecting the checkbox next to each item and clicking Add to menu</strong>' ) . '</li>'; 576 $editing_menus .= '<li>' . __( 'To add a custom link, <strong>expand the Custom Links section, enter a URL and link text, and click Add to menu</strong>' ) . '</li>'; 577 577 $editing_menus .= '<li>' . __( 'To reorganize menu items, <strong>drag and drop items with your mouse or use your keyboard</strong>. Drag or move a menu item a little to the right to make it a submenu' ) . '</li>'; 578 578 $editing_menus .= '<li>' . __( 'Delete a menu item by <strong>expanding it and clicking the Remove link</strong>' ) . '</li></ul>'; 579 579 … … 586 586 ); 587 587 else : // Locations Tab. 588 588 $locations_overview = '<p>' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '</p>'; 589 $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location’s drop down.</strong> When you’re finished, <strong>click Save Changes</strong>' ) . '</li>';589 $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location’s drop down.</strong> When you’re finished, <strong>click Save changes</strong>' ) . '</li>'; 590 590 $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme location, <strong>click the adjacent ’Edit’ link</strong>' ) . '</li>'; 591 591 $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the ’Use new menu’ link</strong>. Your new menu will be automatically assigned to that theme location' ) . '</li></ul>'; 592 592 … … 624 624 admin_url( 'customize.php' ) 625 625 ) 626 626 ), 627 __( 'Manage with Live Preview' )627 __( 'Manage with live preview' ) 628 628 ); 629 629 endif; 630 630 … … 639 639 <hr class="wp-header-end"> 640 640 641 641 <nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>"> 642 <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php echo $nav_tab_active_class; ?>"<?php echo $nav_aria_current; ?>><?php esc_html_e( 'Edit Menus' ); ?></a>642 <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php echo $nav_tab_active_class; ?>"<?php echo $nav_aria_current; ?>><?php esc_html_e( 'Edit menus' ); ?></a> 643 643 <?php 644 644 if ( $num_locations && $menu_count ) { 645 645 $active_tab_class = ''; … … 649 649 $aria_current = ' aria-current="page"'; 650 650 } 651 651 ?> 652 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php echo $active_tab_class; ?>"<?php echo $aria_current; ?>><?php esc_html_e( 'Manage Locations' ); ?></a>652 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php echo $active_tab_class; ?>"<?php echo $aria_current; ?>><?php esc_html_e( 'Manage locations' ); ?></a> 653 653 <?php 654 654 } 655 655 ?> … … 680 680 <table class="widefat fixed" id="menu-locations-table"> 681 681 <thead> 682 682 <tr> 683 <th scope="col" class="manage-column column-locations"><?php _e( 'Theme Location' ); ?></th>684 <th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th>683 <th scope="col" class="manage-column column-locations"><?php _e( 'Theme location' ); ?></th> 684 <th scope="col" class="manage-column column-menus"><?php _e( 'Assigned menu' ); ?></th> 685 685 </tr> 686 686 </thead> 687 687 <tbody class="menu-locations"> … … 690 690 <td class="menu-location-title"><label for="locations-<?php echo $_location; ?>"><?php echo $_name; ?></label></td> 691 691 <td class="menu-location-menus"> 692 692 <select name="menu-locations[<?php echo $_location; ?>]" id="locations-<?php echo $_location; ?>"> 693 <option value="0"><?php printf( '— %s —', esc_html__( 'Select a Menu' ) ); ?></option>693 <option value="0"><?php printf( '— %s —', esc_html__( 'Select a menu' ) ); ?></option> 694 694 <?php 695 695 foreach ( $nav_menus as $menu ) : 696 696 $data_orig = ''; … … 748 748 <?php } // foreach ?> 749 749 </tbody> 750 750 </table> 751 <p class="button-controls wp-clearfix"><?php submit_button( __( 'Save Changes' ), 'primary left', 'nav-menu-locations', false ); ?></p>751 <p class="button-controls wp-clearfix"><?php submit_button( __( 'Save changes' ), 'primary left', 'nav-menu-locations', false ); ?></p> 752 752 <?php wp_nonce_field( 'save-menu-locations' ); ?> 753 753 <input type="hidden" name="menu" id="nav-menu-meta-object-id" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 754 754 </form> … … 766 766 <?php if ( $menu_count < 1 ) : ?> 767 767 <span class="first-menu-message"> 768 768 <?php _e( 'Create your first menu below.' ); ?> 769 <span class="screen-reader-text"><?php _e( 'Fill in the Menu Name and click the Create Menu button to create your first menu.' ); ?></span>769 <span class="screen-reader-text"><?php _e( 'Fill in the Menu name and click the Create menu button to create your first menu.' ); ?></span> 770 770 </span><!-- /first-menu-message --> 771 771 <?php elseif ( $menu_count < 2 ) : ?> 772 772 <span class="add-edit-menu-action"> … … 785 785 ) 786 786 ); 787 787 ?> 788 <span class="screen-reader-text"><?php _e( 'Click the Save Menu button to save your changes.' ); ?></span>788 <span class="screen-reader-text"><?php _e( 'Click the Save menu button to save your changes.' ); ?></span> 789 789 </span><!-- /add-edit-menu-action --> 790 790 <?php else : ?> 791 791 <form method="get" action="<?php echo admin_url( 'nav-menus.php' ); ?>"> … … 847 847 ) 848 848 ); 849 849 ?> 850 <span class="screen-reader-text"><?php _e( 'Click the Save Menu button to save your changes.' ); ?></span>850 <span class="screen-reader-text"><?php _e( 'Click the Save menu button to save your changes.' ); ?></span> 851 851 </span><!-- /add-new-menu-action --> 852 852 </form> 853 853 <?php … … 905 905 <input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 906 906 <div id="nav-menu-header"> 907 907 <div class="major-publishing-actions wp-clearfix"> 908 <label class="menu-name-label" for="menu-name"><?php _e( 'Menu Name' ); ?></label>908 <label class="menu-name-label" for="menu-name"><?php _e( 'Menu name' ); ?></label> 909 909 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox" <?php echo $menu_name_val . $menu_name_aria_desc; ?> /> 910 910 <div class="publishing-action"> 911 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'primary large menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?>911 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create menu' ) : __( 'Save menu' ), 'primary large menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?> 912 912 </div><!-- END .publishing-action --> 913 913 </div><!-- END .major-publishing-actions --> 914 914 </div><!-- END .nav-menu-header --> … … 920 920 if ( isset( $menu_items ) && 0 == count( $menu_items ) ) { 921 921 $hide_style = 'style="display: none;"'; 922 922 } 923 $starter_copy = ( $one_theme_location_no_menus ) ? __( 'Edit your default menu by adding or removing items. Drag each item into the order you prefer. Click Create Menu to save your changes.' ) : __( 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' );923 $starter_copy = ( $one_theme_location_no_menus ) ? __( 'Edit your default menu by adding or removing items. Drag each item into the order you prefer. Click Create menu to save your changes.' ) : __( 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' ); 924 924 ?> 925 925 <div class="drag-instructions post-body-plain" <?php echo $hide_style; ?>> 926 926 <p><?php echo $starter_copy; ?></p> … … 934 934 <?php } ?> 935 935 <?php endif; ?> 936 936 <?php if ( $add_new_screen ) : ?> 937 <p class="post-body-plain" id="menu-name-desc"><?php _e( 'Give your menu a name, then click Create Menu.' ); ?></p>937 <p class="post-body-plain" id="menu-name-desc"><?php _e( 'Give your menu a name, then click Create menu.' ); ?></p> 938 938 <?php if ( isset( $_GET['use-location'] ) ) : ?> 939 939 <input type="hidden" name="use-location" value="<?php echo esc_attr( $_GET['use-location'] ); ?>" /> 940 940 <?php endif; ?> … … 947 947 } 948 948 ?> 949 949 <div class="menu-settings" <?php echo $no_menus_style; ?>> 950 <h3><?php _e( 'Menu Settings' ); ?></h3>950 <h3><?php _e( 'Menu settings' ); ?></h3> 951 951 <?php 952 952 if ( ! isset( $auto_add ) ) { 953 953 $auto_add = get_option( 'nav_menu_options' ); … … 1015 1015 ) 1016 1016 ); 1017 1017 ?> 1018 "><?php _e( 'Delete Menu' ); ?></a>1018 "><?php _e( 'Delete menu' ); ?></a> 1019 1019 </span><!-- END .delete-action --> 1020 1020 <?php endif; ?> 1021 1021 <div class="publishing-action"> 1022 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'primary large menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?>1022 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create menu' ) : __( 'Save menu' ), 'primary large menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?> 1023 1023 </div><!-- END .publishing-action --> 1024 1024 </div><!-- END .major-publishing-actions --> 1025 1025 </div><!-- /#nav-menu-footer --> -
wp-admin/network/menu.php
43 43 44 44 unset( $cap ); 45 45 46 $submenu['index.php'][15] = array( __( 'Upgrade Network' ), 'upgrade_network', 'upgrade.php' );46 $submenu['index.php'][15] = array( __( 'Upgrade network' ), 'upgrade_network', 'upgrade.php' ); 47 47 48 48 $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); 49 49 50 50 /* translators: Sites menu item. */ 51 51 $menu[5] = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' ); 52 $submenu['sites.php'][5] = array( __( 'All Sites' ), 'manage_sites', 'sites.php' );53 $submenu['sites.php'][10] = array( _x( 'Add New', 'site' ), 'create_sites', 'site-new.php' );52 $submenu['sites.php'][5] = array( __( 'All sites' ), 'manage_sites', 'sites.php' ); 53 $submenu['sites.php'][10] = array( _x( 'Add new', 'site' ), 'create_sites', 'site-new.php' ); 54 54 55 55 $menu[10] = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' ); 56 $submenu['users.php'][5] = array( __( 'All Users' ), 'manage_network_users', 'users.php' );57 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'create_users', 'user-new.php' );56 $submenu['users.php'][5] = array( __( 'All users' ), 'manage_network_users', 'users.php' ); 57 $submenu['users.php'][10] = array( _x( 'Add new', 'user' ), 'create_users', 'user-new.php' ); 58 58 59 59 if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) { 60 60 $menu[15] = array( … … 77 77 } else { 78 78 $menu[15] = array( __( 'Themes' ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'dashicons-admin-appearance' ); 79 79 } 80 $submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' );81 $submenu['themes.php'][10] = array( _x( 'Add New', 'theme' ), 'install_themes', 'theme-install.php' );82 $submenu['themes.php'][15] = array( __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' );80 $submenu['themes.php'][5] = array( __( 'Installed themes' ), 'manage_network_themes', 'themes.php' ); 81 $submenu['themes.php'][10] = array( _x( 'Add new', 'theme' ), 'install_themes', 'theme-install.php' ); 82 $submenu['themes.php'][15] = array( __( 'Theme editor' ), 'edit_themes', 'theme-editor.php' ); 83 83 84 84 if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) { 85 85 $menu[20] = array( … … 102 102 } else { 103 103 $menu[20] = array( __( 'Plugins' ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' ); 104 104 } 105 $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' );106 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' );107 $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' );105 $submenu['plugins.php'][5] = array( __( 'Installed plugins' ), 'manage_network_plugins', 'plugins.php' ); 106 $submenu['plugins.php'][10] = array( _x( 'Add new', 'plugin' ), 'install_plugins', 'plugin-install.php' ); 107 $submenu['plugins.php'][15] = array( __( 'Plugin editor' ), 'edit_plugins', 'plugin-editor.php' ); 108 108 109 109 $menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); 110 110 if ( defined( 'MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) { 111 $submenu['settings.php'][5] = array( __( 'Network Settings' ), 'manage_network_options', 'settings.php' );112 $submenu['settings.php'][10] = array( __( 'Network Setup' ), 'setup_network', 'setup.php' );111 $submenu['settings.php'][5] = array( __( 'Network settings' ), 'manage_network_options', 'settings.php' ); 112 $submenu['settings.php'][10] = array( __( 'Network setup' ), 'setup_network', 'setup.php' ); 113 113 } 114 114 unset( $update_data ); 115 115 -
wp-admin/network/settings.php
438 438 } 439 439 ?> 440 440 441 <h2><?php _e( 'Menu Settings' ); ?></h2>441 <h2><?php _e( 'Menu settings' ); ?></h2> 442 442 <table id="menu" class="form-table"> 443 443 <tr> 444 444 <th scope="row"><?php _e( 'Enable administration menus' ); ?></th> -
wp-admin/network/site-info.php
158 158 if ( $is_main_site ) : 159 159 ?> 160 160 <tr class="form-field"> 161 <th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>161 <th scope="row"><?php _e( 'Site address (URL)' ); ?></th> 162 162 <td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td> 163 163 </tr> 164 164 <?php … … 166 166 else : 167 167 ?> 168 168 <tr class="form-field form-required"> 169 <th scope="row"><label for="url"><?php _e( 'Site Address (URL)' ); ?></label></th>169 <th scope="row"><label for="url"><?php _e( 'Site address (URL)' ); ?></label></th> 170 170 <td><input name="blog[url]" type="text" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td> 171 171 </tr> 172 172 <?php endif; ?> … … 176 176 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ); ?>" /></td> 177 177 </tr> 178 178 <tr class="form-field"> 179 <th scope="row"><label for="blog_last_updated"><?php _e( 'Last Updated' ); ?></label></th>179 <th scope="row"><label for="blog_last_updated"><?php _e( 'Last updated' ); ?></label></th> 180 180 <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ); ?>" /></td> 181 181 </tr> 182 182 <?php -
wp-admin/network/site-users.php
273 273 ?> 274 274 275 275 <form class="search-form" method="get"> 276 <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?>276 <?php $wp_list_table->search_box( __( 'Search users' ), 'user' ); ?> 277 277 <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> 278 278 </form> 279 279 -
wp-admin/network/sites.php
27 27 'id' => 'overview', 28 28 'title' => __( 'Overview' ), 29 29 'content' => 30 '<p>' . __( 'Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.' ) . '</p>' .30 '<p>' . __( 'Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen options allows you to choose how many sites to display on one page.' ) . '</p>' . 31 31 '<p>' . __( 'This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.' ) . '</p>' . 32 32 '<p>' . __( 'Hovering over each site reveals seven options (three for the primary site):' ) . '</p>' . 33 33 '<ul><li>' . __( 'An Edit link to a separate Edit Site screen.' ) . '</li>' . -
wp-admin/network/users.php
286 286 <?php $wp_list_table->views(); ?> 287 287 288 288 <form method="get" class="search-form"> 289 <?php $wp_list_table->search_box( __( 'Search Users' ), 'all-user' ); ?>289 <?php $wp_list_table->search_box( __( 'Search users' ), 'all-user' ); ?> 290 290 </form> 291 291 292 292 <form id="form-user-list" action="users.php?action=allusers" method="post"> -
wp-admin/options-discussion.php
22 22 'id' => 'overview', 23 23 'title' => __( 'Overview' ), 24 24 'content' => '<p>' . __( 'This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does.' ) . '</p>' . 25 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',25 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 26 26 ) 27 27 ); 28 28 … … 185 185 </fieldset></td> 186 186 </tr> 187 187 <tr> 188 <th scope="row"><?php _e( 'Comment Moderation' ); ?></th>189 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment Moderation' ); ?></span></legend>188 <th scope="row"><?php _e( 'Comment moderation' ); ?></th> 189 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment moderation' ); ?></span></legend> 190 190 <p><label for="comment_max_links"> 191 191 <?php 192 192 printf( … … 231 231 232 232 <table class="form-table" role="presentation"> 233 233 <tr> 234 <th scope="row"><?php _e( 'Avatar Display' ); ?></th>234 <th scope="row"><?php _e( 'Avatar display' ); ?></th> 235 235 <td> 236 236 <label for="show_avatars"> 237 237 <input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> /> … … 240 240 </td> 241 241 </tr> 242 242 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 243 <th scope="row"><?php _e( 'Maximum Rating' ); ?></th>243 <th scope="row"><?php _e( 'Maximum rating' ); ?></th> 244 244 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Maximum Rating' ); ?></span></legend> 245 245 246 246 <?php … … 263 263 </fieldset></td> 264 264 </tr> 265 265 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 266 <th scope="row"><?php _e( 'Default Avatar' ); ?></th>266 <th scope="row"><?php _e( 'Default avatar' ); ?></th> 267 267 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default Avatar' ); ?></span></legend> 268 268 269 269 <p> … … 272 272 273 273 <?php 274 274 $avatar_defaults = array( 275 'mystery' => __( 'Mystery Person' ),275 'mystery' => __( 'Mystery person' ), 276 276 'blank' => __( 'Blank' ), 277 'gravatar_default' => __( 'Gravatar Logo' ),278 'identicon' => __( 'Identicon ( Generated)' ),279 'wavatar' => __( 'Wavatar ( Generated)' ),280 'monsterid' => __( 'MonsterID ( Generated)' ),281 'retro' => __( 'Retro ( Generated)' ),277 'gravatar_default' => __( 'Gravatar logo' ), 278 'identicon' => __( 'Identicon (generated)' ), 279 'wavatar' => __( 'Wavatar (generated)' ), 280 'monsterid' => __( 'MonsterID (generated)' ), 281 'retro' => __( 'Retro (generated)' ), 282 282 ); 283 283 /** 284 284 * Filters the default avatars. -
wp-admin/options-general.php
33 33 34 34 $options_help .= '<p>' . __( 'You can set the language, and the translation files will be automatically downloaded and installed (available if your filesystem is writable).' ) . '</p>' . 35 35 '<p>' . __( 'UTC means Coordinated Universal Time.' ) . '</p>' . 36 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>';36 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>'; 37 37 38 38 get_current_screen()->add_help_tab( 39 39 array( … … 61 61 <table class="form-table" role="presentation"> 62 62 63 63 <tr> 64 <th scope="row"><label for="blogname"><?php _e( 'Site Title' ); ?></label></th>64 <th scope="row"><label for="blogname"><?php _e( 'Site title' ); ?></label></th> 65 65 <td><input name="blogname" type="text" id="blogname" value="<?php form_option( 'blogname' ); ?>" class="regular-text" /></td> 66 66 </tr> 67 67 … … 84 84 ?> 85 85 86 86 <tr> 87 <th scope="row"><label for="siteurl"><?php _e( 'WordPress Address (URL)' ); ?></label></th>87 <th scope="row"><label for="siteurl"><?php _e( 'WordPress address (URL)' ); ?></label></th> 88 88 <td><input name="siteurl" type="url" id="siteurl" value="<?php form_option( 'siteurl' ); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php echo $wp_site_url_class; ?>" /></td> 89 89 </tr> 90 90 91 91 <tr> 92 <th scope="row"><label for="home"><?php _e( 'Site Address (URL)' ); ?></label></th>92 <th scope="row"><label for="home"><?php _e( 'Site address (URL)' ); ?></label></th> 93 93 <td><input name="home" type="url" id="home" aria-describedby="home-description" value="<?php form_option( 'home' ); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php echo $wp_home_class; ?>" /> 94 94 <?php if ( ! defined( 'WP_HOME' ) ) : ?> 95 95 <p class="description" id="home-description"> … … 108 108 <?php } ?> 109 109 110 110 <tr> 111 <th scope="row"><label for="new_admin_email"><?php _e( 'Administration Email Address' ); ?></label></th>111 <th scope="row"><label for="new_admin_email"><?php _e( 'Administration email address' ); ?></label></th> 112 112 <td><input name="new_admin_email" type="email" id="new_admin_email" aria-describedby="new-admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 113 113 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?></p> 114 114 <?php … … 146 146 </tr> 147 147 148 148 <tr> 149 <th scope="row"><label for="default_role"><?php _e( 'New User Default Role' ); ?></label></th>149 <th scope="row"><label for="default_role"><?php _e( 'New user default role' ); ?></label></th> 150 150 <td> 151 151 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option( 'default_role' ) ); ?></select> 152 152 </td> … … 163 163 if ( ! empty( $languages ) || ! empty( $translations ) ) { 164 164 ?> 165 165 <tr> 166 <th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label></th>166 <th scope="row"><label for="WPLANG"><?php _e( 'Site language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label></th> 167 167 <td> 168 168 <?php 169 169 $locale = get_locale(); … … 303 303 304 304 </tr> 305 305 <tr> 306 <th scope="row"><?php _e( 'Date Format' ); ?></th>306 <th scope="row"><?php _e( 'Date format' ); ?></th> 307 307 <td> 308 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Date Format' ); ?></span></legend>308 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Date format' ); ?></span></legend> 309 309 <?php 310 310 /** 311 311 * Filters the default date formats. … … 341 341 </td> 342 342 </tr> 343 343 <tr> 344 <th scope="row"><?php _e( 'Time Format' ); ?></th>344 <th scope="row"><?php _e( 'Time format' ); ?></th> 345 345 <td> 346 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Time Format' ); ?></span></legend>346 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Time format' ); ?></span></legend> 347 347 <?php 348 348 /** 349 349 * Filters the default time formats. … … 380 380 </td> 381 381 </tr> 382 382 <tr> 383 <th scope="row"><label for="start_of_week"><?php _e( 'Week Starts On' ); ?></label></th>383 <th scope="row"><label for="start_of_week"><?php _e( 'Week starts on' ); ?></label></th> 384 384 <td><select name="start_of_week" id="start_of_week"> 385 385 <?php 386 386 /** -
wp-admin/options-media.php
22 22 $media_options_help .= '<p>' . __( 'Uploading Files allows you to choose the folder and path for storing your uploaded files.' ) . '</p>'; 23 23 } 24 24 25 $media_options_help .= '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>';25 $media_options_help .= '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>'; 26 26 27 27 get_current_screen()->add_help_tab( 28 28 array( … … 48 48 <form action="options.php" method="post"> 49 49 <?php settings_fields( 'media' ); ?> 50 50 51 <h2 class="title"><?php _e( 'Image sizes' ); ?></h2>51 <h2 class="title"><?php _e( 'Image Sizes' ); ?></h2> 52 52 <p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p> 53 53 54 54 <table class="form-table" role="presentation"> -
wp-admin/options-permalink.php
22 22 'title' => __( 'Overview' ), 23 23 'content' => '<p>' . __( 'Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent, and never change — hence the name permalink.' ) . '</p>' . 24 24 '<p>' . __( 'This screen allows you to choose your permalink structure. You can choose from common settings or create custom URL structures.' ) . '</p>' . 25 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',25 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 26 26 ) 27 27 ); 28 28 … … 30 30 array( 31 31 'id' => 'permalink-settings', 32 32 'title' => __( 'Permalink Settings' ), 33 'content' => '<p>' . __( 'Permalinks can contain useful information, such as the post date, title, or other elements. You can choose from any of the suggested permalink formats, or you can craft your own if you select Custom Structure.' ) . '</p>' .33 'content' => '<p>' . __( 'Permalinks can contain useful information, such as the post date, title, or other elements. You can choose from any of the suggested permalink formats, or you can craft your own if you select Custom structure.' ) . '</p>' . 34 34 '<p>' . sprintf( 35 35 /* translators: '%' character. */ 36 36 __( 'If you pick an option other than Plain, your general URL path with structure tags (terms surrounded by %s) will also appear in the custom structure field and your path can be further modified there.' ), … … 42 42 '<code>%category%</code>', 43 43 '<code>%tag%</code>' 44 44 ) . '</p>' . 45 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',45 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 46 46 ) 47 47 ); 48 48 … … 49 49 get_current_screen()->add_help_tab( 50 50 array( 51 51 'id' => 'custom-structures', 52 'title' => __( 'Custom Structures' ),52 'title' => __( 'Custom structures' ), 53 53 'content' => '<p>' . __( 'The Optional fields let you customize the “category” and “tag” base names that will appear in archive URLs. For example, the page listing all posts in the “Uncategorized” category could be <code>/topics/uncategorized</code> instead of <code>/category/uncategorized</code>.' ) . '</p>' . 54 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',54 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 55 55 ) 56 56 ); 57 57 … … 229 229 <tr> 230 230 <th scope="row"> 231 231 <label><input name="selection" id="custom_selection" type="radio" value="custom" <?php checked( ! in_array( $permalink_structure, $structures ) ); ?> /> 232 <?php _e( 'Custom Structure' ); ?>232 <?php _e( 'Custom structure' ); ?> 233 233 </label> 234 234 </th> 235 235 <td> -
wp-admin/options-privacy.php
224 224 225 225 wp_nonce_field( 'set-privacy-page' ); 226 226 227 submit_button( __( 'Use This Page' ), 'primary', 'submit', false, array( 'id' => 'set-page' ) );227 submit_button( __( 'Use this page' ), 'primary', 'submit', false, array( 'id' => 'set-page' ) ); 228 228 ?> 229 229 </form> 230 230 <?php endif; ?> … … 243 243 <?php 244 244 wp_nonce_field( 'create-privacy-page' ); 245 245 246 submit_button( __( 'Create New Page' ), 'primary', 'submit', false, array( 'id' => 'create-page' ) );246 submit_button( __( 'Create new page' ), 'primary', 'submit', false, array( 'id' => 'create-page' ) ); 247 247 ?> 248 248 </form> 249 249 </td> -
wp-admin/options-reading.php
33 33 __( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or a summary. <a href="%s">Learn more about feeds</a>.' ), 34 34 __( 'https://wordpress.org/support/article/wordpress-feeds/' ) 35 35 ) . '</p>' . 36 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',36 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 37 37 ) 38 38 ); 39 39 … … 40 40 get_current_screen()->add_help_tab( 41 41 array( 42 42 'id' => 'site-visibility', 43 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ),44 'content' => '<p>' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '</p>' .45 '<p>' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '</p>',43 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search engine visibility' ), 44 'content' => '<p>' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '</p>' . 45 '<p>' . __( 'When this setting is in effect, a reminder is shown in the At a glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '</p>', 46 46 ) 47 47 ); 48 48 … … 175 175 </tr> 176 176 177 177 <tr class="option-site-visibility"> 178 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>179 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>178 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search engine visibility' ); ?> </th> 179 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search engine visibility' ); ?> </span></legend> 180 180 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 181 181 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> /> 182 182 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br/> … … 192 192 * 1. Disable the single checkbox in favor of a multiple-choice list of radio buttons. 193 193 * 2. Open the door to adding additional radio button choices to the list. 194 194 * 195 * Hooking to this action also converts the 'Search Engine Visibility' heading to the more195 * Hooking to this action also converts the 'Search engine visibility' heading to the more 196 196 * open-ended 'Site Visibility' heading. 197 197 * 198 198 * @since 2.1.0 -
wp-admin/options-writing.php
21 21 'id' => 'overview', 22 22 'title' => __( 'Overview' ), 23 23 'content' => '<p>' . __( 'You can submit content in several different ways; this screen holds the settings for all of them. The top section controls the editor within the dashboard, while the rest control external publishing methods. For more information on any of these methods, use the documentation links.' ) . '</p>' . 24 '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',24 '<p>' . __( 'You must click the Save changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', 25 25 ) 26 26 ); 27 27 … … 30 30 get_current_screen()->add_help_tab( 31 31 array( 32 32 'id' => 'options-postemail', 33 'title' => __( 'Post Via Email' ),33 'title' => __( 'Post via email' ), 34 34 'content' => '<p>' . __( 'Post via email settings allow you to send your WordPress installation an email with the content of your post. You must set up a secret email account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '</p>', 35 35 ) 36 36 ); … … 41 41 get_current_screen()->add_help_tab( 42 42 array( 43 43 'id' => 'options-services', 44 'title' => __( 'Update Services' ),44 'title' => __( 'Update services' ), 45 45 'content' => '<p>' . __( 'If desired, WordPress will automatically alert various services of your new posts.' ) . '</p>', 46 46 ) 47 47 ); … … 75 75 </tr> 76 76 <?php endif; ?> 77 77 <tr> 78 <th scope="row"><label for="default_category"><?php _e( 'Default Post Category' ); ?></label></th>78 <th scope="row"><label for="default_category"><?php _e( 'Default post category' ); ?></label></th> 79 79 <td> 80 80 <?php 81 81 wp_dropdown_categories( … … 95 95 unset( $post_formats['standard'] ); 96 96 ?> 97 97 <tr> 98 <th scope="row"><label for="default_post_format"><?php _e( 'Default Post Format' ); ?></label></th>98 <th scope="row"><label for="default_post_format"><?php _e( 'Default post format' ); ?></label></th> 99 99 <td> 100 100 <select name="default_post_format" id="default_post_format"> 101 101 <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option> … … 109 109 if ( get_option( 'link_manager_enabled' ) ) : 110 110 ?> 111 111 <tr> 112 <th scope="row"><label for="default_link_category"><?php _e( 'Default Link Category' ); ?></label></th>112 <th scope="row"><label for="default_link_category"><?php _e( 'Default link category' ); ?></label></th> 113 113 <td> 114 114 <?php 115 115 wp_dropdown_categories( … … 137 137 /** This filter is documented in wp-admin/options.php */ 138 138 if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { 139 139 ?> 140 <h2 class="title"><?php _e( 'Post via email' ); ?></h2>140 <h2 class="title"><?php _e( 'Post Via Email' ); ?></h2> 141 141 <p> 142 142 <?php 143 143 printf( … … 152 152 153 153 <table class="form-table" role="presentation"> 154 154 <tr> 155 <th scope="row"><label for="mailserver_url"><?php _e( 'Mail Server' ); ?></label></th>155 <th scope="row"><label for="mailserver_url"><?php _e( 'Mail server' ); ?></label></th> 156 156 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option( 'mailserver_url' ); ?>" class="regular-text code" /> 157 157 <label for="mailserver_port"><?php _e( 'Port' ); ?></label> 158 158 <input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option( 'mailserver_port' ); ?>" class="small-text" /> … … 159 159 </td> 160 160 </tr> 161 161 <tr> 162 <th scope="row"><label for="mailserver_login"><?php _e( 'Login Name' ); ?></label></th>162 <th scope="row"><label for="mailserver_login"><?php _e( 'Login name' ); ?></label></th> 163 163 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option( 'mailserver_login' ); ?>" class="regular-text ltr" /></td> 164 164 </tr> 165 165 <tr> … … 169 169 </td> 170 170 </tr> 171 171 <tr> 172 <th scope="row"><label for="default_email_category"><?php _e( 'Default Mail Category' ); ?></label></th>172 <th scope="row"><label for="default_email_category"><?php _e( 'Default mail category' ); ?></label></th> 173 173 <td> 174 174 <?php 175 175 wp_dropdown_categories( -
wp-admin/options.php
368 368 369 369 <input type="hidden" name="page_options" value="<?php echo esc_attr( implode( ',', $options_to_update ) ); ?>" /> 370 370 371 <?php submit_button( __( 'Save Changes' ), 'primary', 'Update' ); ?>371 <?php submit_button( __( 'Save changes' ), 'primary', 'Update' ); ?> 372 372 373 373 </form> 374 374 </div> -
wp-admin/plugin-editor.php
123 123 'title' => __( 'Overview' ), 124 124 'content' => 125 125 '<p>' . __( 'You can use the plugin editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.' ) . '</p>' . 126 '<p>' . __( 'Choose a plugin to edit from the dropdown menu and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.' ) . '</p>' .126 '<p>' . __( 'Choose a plugin to edit from the dropdown menu and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update file) when you’re finished.' ) . '</p>' . 127 127 '<p>' . __( 'The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Look Up takes you to a web page about that particular function.' ) . '</p>' . 128 128 '<p id="editor-keyboard-trap-help-1">' . __( 'When using a keyboard to navigate:' ) . '</p>' . 129 129 '<ul>' . … … 165 165 166 166 if ( ! empty( $functions ) ) { 167 167 $docs_select = '<select name="docs-list" id="docs-list">'; 168 $docs_select .= '<option value="">' . __( 'Function Name…' ) . '</option>';168 $docs_select .= '<option value="">' . __( 'Function name…' ) . '</option>'; 169 169 foreach ( $functions as $function ) { 170 170 $docs_select .= '<option value="' . esc_attr( $function ) . '">' . esc_html( $function ) . '()</option>'; 171 171 } … … 276 276 <?php } ?> 277 277 </div> 278 278 <p class="submit"> 279 <?php submit_button( __( 'Update File' ), 'primary', 'submit', false ); ?>279 <?php submit_button( __( 'Update file' ), 'primary', 'submit', false ); ?> 280 280 <span class="spinner"></span> 281 281 </p> 282 282 <?php else : ?> -
wp-admin/plugin-install.php
100 100 '<p>' . __( 'If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.' ) . '</p>' . 101 101 '<p>' . __( 'If you just want to get an idea of what’s available, you can browse Featured and Popular plugins by using the links above the plugins list. These sections rotate regularly.' ) . '</p>' . 102 102 '<p>' . __( 'You can also browse a user’s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.' ) . '</p>' . 103 '<p>' . __( 'If you want to install a plugin that you’ve downloaded elsewhere, click the Upload Plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>',103 '<p>' . __( 'If you want to install a plugin that you’ve downloaded elsewhere, click the Upload plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>', 104 104 ) 105 105 ); 106 106 … … 135 135 printf( 136 136 ' <a href="%s" class="upload-view-toggle page-title-action"><span class="upload">%s</span><span class="browse">%s</span></a>', 137 137 ( 'upload' === $tab ) ? self_admin_url( 'plugin-install.php' ) : self_admin_url( 'plugin-install.php?tab=upload' ), 138 __( 'Upload Plugin' ),138 __( 'Upload plugin' ), 139 139 __( 'Browse Plugins' ) 140 140 ); 141 141 } -
wp-admin/plugins.php
621 621 <?php $wp_list_table->views(); ?> 622 622 623 623 <form class="search-form search-plugins" method="get"> 624 <?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?>624 <?php $wp_list_table->search_box( __( 'Search installed plugins' ), 'plugin' ); ?> 625 625 </form> 626 626 627 627 <form method="post" id="bulk-action-form"> -
wp-admin/press-this.php
60 60 '<a href="%1$s" class="install-now" data-slug="%2$s" data-name="%2$s" aria-label="%3$s">%3$s</a>', 61 61 esc_url( $url ), 62 62 esc_attr( $plugin_slug ), 63 __( 'Install Now' )63 __( 'Install now' ) 64 64 ); 65 65 } else { 66 66 $action = sprintf( -
wp-admin/theme-editor.php
35 35 '<li id="editor-keyboard-trap-help-3">' . __( 'To move away from this area, press the Esc key followed by the Tab key.' ) . '</li>' . 36 36 '<li id="editor-keyboard-trap-help-4">' . __( 'Screen reader users: when in forms mode, you may need to press the Esc key twice.' ) . '</li>' . 37 37 '</ul>' . 38 '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' .38 '<p>' . __( 'After typing in your edits, click Update file.' ) . '</p>' . 39 39 '<p>' . __( '<strong>Advice:</strong> Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' . 40 40 '<p>' . sprintf( 41 41 /* translators: %s: Link to documentation on child themes. */ … … 165 165 $functions = wp_doc_link_parse( $content ); 166 166 167 167 $docs_select = '<select name="docs-list" id="docs-list">'; 168 $docs_select .= '<option value="">' . esc_attr__( 'Function Name…' ) . '</option>';168 $docs_select .= '<option value="">' . esc_attr__( 'Function name…' ) . '</option>'; 169 169 foreach ( $functions as $function ) { 170 170 $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>'; 171 171 } … … 309 309 </div> 310 310 <?php if ( is_writeable( $file ) ) : ?> 311 311 <p class="submit"> 312 <?php submit_button( __( 'Update File' ), 'primary', 'submit', false ); ?>312 <?php submit_button( __( 'Update file' ), 'primary', 'submit', false ); ?> 313 313 <span class="spinner"></span> 314 314 </p> 315 315 <?php else : ?> -
wp-admin/theme-install.php
52 52 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ), 53 53 ), 54 54 'l10n' => array( 55 'addNew' => __( 'Add New Theme' ),56 'search' => __( 'Search Themes' ),55 'addNew' => __( 'Add new theme' ), 56 'search' => __( 'Search themes' ), 57 57 'searchPlaceholder' => __( 'Search themes...' ), // placeholder (no ellipsis) 58 'upload' => __( 'Upload Theme' ),58 'upload' => __( 'Upload theme' ), 59 59 'back' => __( 'Back' ), 60 60 'error' => sprintf( 61 61 /* translators: %s: Support forums URL. */ … … 62 62 __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), 63 63 __( 'https://wordpress.org/support/forums/' ) 64 64 ), 65 'tryAgain' => __( 'Try Again' ),65 'tryAgain' => __( 'Try again' ), 66 66 /* translators: %d: Number of themes. */ 67 'themesFound' => __( 'Number of Themes found: %d' ),67 'themesFound' => __( 'Number of themes found: %d' ), 68 68 'noThemesFound' => __( 'No themes found. Try a different search.' ), 69 'collapseSidebar' => __( 'Collapse Sidebar' ),70 'expandSidebar' => __( 'Expand Sidebar' ),69 'collapseSidebar' => __( 'Collapse sidebar' ), 70 'expandSidebar' => __( 'Expand sidebar' ), 71 71 /* translators: Accessibility text. */ 72 72 'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ), 73 73 ), … … 115 115 116 116 $help_installing = 117 117 '<p>' . __( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you’re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.' ) . '</p>' . 118 '<p>' . __( 'To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme’s thumbnail image.' ) . '</p>';118 '<p>' . __( 'To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live preview" link under any installed theme’s thumbnail image.' ) . '</p>'; 119 119 120 120 get_current_screen()->add_help_tab( 121 121 array( … … 148 148 * 149 149 * @param string[] $tabs Associative array of the tabs shown on the Add Themes screen. Default is 'upload'. 150 150 */ 151 $tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );151 $tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload theme' ) ) ); 152 152 if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) { 153 echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>';153 echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload theme' ) . '</button>'; 154 154 } 155 155 ?> 156 156 … … 178 178 <li><a href="#" data-sort="favorites"><?php _ex( 'Favorites', 'themes' ); ?></a></li> 179 179 </ul> 180 180 181 <button type="button" class="button drawer-toggle" aria-expanded="false"><?php _e( 'Feature Filter' ); ?></button>181 <button type="button" class="button drawer-toggle" aria-expanded="false"><?php _e( 'Feature filter' ); ?></button> 182 182 183 183 <form class="search-form"></form> 184 184 … … 198 198 <label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label> 199 199 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> 200 200 <input type="search" id="wporg-username-input" value="<?php echo esc_attr( $user ); ?>" /> 201 <input type="button" class="button favorites-form-submit" value="<?php esc_attr_e( 'Get Favorites' ); ?>" />201 <input type="button" class="button favorites-form-submit" value="<?php esc_attr_e( 'Get favorites' ); ?>" /> 202 202 </p> 203 203 </div> 204 204 205 205 <div class="filter-drawer"> 206 206 <div class="buttons"> 207 <button type="button" class="apply-filters button"><?php _e( 'Apply Filters' ); ?><span></span></button>207 <button type="button" class="apply-filters button"><?php _e( 'Apply filters' ); ?><span></span></button> 208 208 <button type="button" class="clear-filters button" aria-label="<?php esc_attr_e( 'Clear current filters' ); ?>"><?php _e( 'Clear' ); ?></button> 209 209 </div> 210 210 <?php … … 224 224 } 225 225 ?> 226 226 <div class="buttons"> 227 <button type="button" class="apply-filters button"><?php _e( 'Apply Filters' ); ?><span></span></button>227 <button type="button" class="apply-filters button"><?php _e( 'Apply filters' ); ?><span></span></button> 228 228 <button type="button" class="clear-filters button" aria-label="<?php esc_attr_e( 'Clear current filters' ); ?>"><?php _e( 'Clear' ); ?></button> 229 229 </div> 230 230 <div class="filtered-by"> … … 288 288 <a class="button button-primary activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a> 289 289 <# } #> 290 290 <# if ( data.customize_url ) { #> 291 <a class="button load-customize" href="{{ data.customize_url }}"><?php _e( 'Live Preview' ); ?></a>291 <a class="button load-customize" href="{{ data.customize_url }}"><?php _e( 'Live preview' ); ?></a> 292 292 <# } else { #> 293 293 <button class="button preview install-theme-preview"><?php _e( 'Preview' ); ?></button> 294 294 <# } #> -
wp-admin/themes.php
91 91 if ( current_user_can( 'switch_themes' ) ) { 92 92 $help_overview = '<p>' . __( 'This screen is used for managing your installed themes. Aside from the default theme(s) included with your WordPress installation, themes are designed and developed by third parties.' ) . '</p>' . 93 93 '<p>' . __( 'From this screen you can:' ) . '</p>' . 94 '<ul><li>' . __( 'Hover or tap to see Activate and Live Preview buttons' ) . '</li>' .94 '<ul><li>' . __( 'Hover or tap to see Activate and Live preview buttons' ) . '</li>' . 95 95 '<li>' . __( 'Click on the theme to see the theme name, version, author, description, tags, and the Delete link' ) . '</li>' . 96 '<li>' . __( 'Click Customize for the current theme or Live Preview for any other theme to see a live preview' ) . '</li></ul>' .96 '<li>' . __( 'Click Customize for the current theme or Live preview for any other theme to see a live preview' ) . '</li></ul>' . 97 97 '<p>' . __( 'The current theme is displayed highlighted as the first theme.' ) . '</p>' . 98 98 '<p>' . __( 'The search for installed themes will search for terms in their name, description, author, or tag.' ) . ' <span id="live-search-desc">' . __( 'The search results will be updated as you type.' ) . '</span></p>'; 99 99 … … 130 130 // Help tab: Previewing and Customizing 131 131 if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { 132 132 $help_customize = 133 '<p>' . __( 'Tap or hover on any theme then click the Live Preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live Preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way.' ) . '</p>' .133 '<p>' . __( 'Tap or hover on any theme then click the Live preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way.' ) . '</p>' . 134 134 '<p>' . __( 'The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates. The settings may differ depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Publish & Activate button above the menu.' ) . '</p>' . 135 135 '<p>' . __( 'When previewing on smaller monitors, you can use the collapse icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the collapse icon again.' ) . '</p>'; 136 136 … … 168 168 'adminUrl' => parse_url( admin_url(), PHP_URL_PATH ), 169 169 ), 170 170 'l10n' => array( 171 'addNew' => __( 'Add New Theme' ),172 'search' => __( 'Search Installed Themes' ),171 'addNew' => __( 'Add new theme' ), 172 'search' => __( 'Search installed themes' ), 173 173 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis) 174 174 /* translators: %d: Number of themes. */ 175 'themesFound' => __( 'Number of Themes found: %d' ),175 'themesFound' => __( 'Number of themes found: %d' ), 176 176 'noThemesFound' => __( 'No themes found. Try a different search.' ), 177 177 ), 178 178 ) … … 191 191 </h1> 192 192 193 193 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 194 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>194 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add new', 'Add new theme' ); ?></a> 195 195 <?php endif; ?> 196 196 197 197 <form class="search-form"></form> … … 331 331 </div> 332 332 <?php endif; ?> 333 333 334 <span class="more-details" id="<?php echo $aria_action; ?>"><?php _e( 'Theme Details' ); ?></span>334 <span class="more-details" id="<?php echo $aria_action; ?>"><?php _e( 'Theme details' ); ?></span> 335 335 <div class="theme-author"> 336 336 <?php 337 337 /* translators: %s: Theme author name. */ … … 363 363 ?> 364 364 <a class="button activate" href="<?php echo $theme['actions']['activate']; ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a> 365 365 <?php if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { ?> 366 <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live Preview' ); ?></a>366 <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live preview' ); ?></a> 367 367 <?php } ?> 368 368 <?php } ?> 369 369 … … 373 373 <?php endforeach; ?> 374 374 </div> 375 375 </div> 376 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div>376 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme details' ); ?>"></div> 377 377 378 378 <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p> 379 379 … … 498 498 <# } #> 499 499 <# } #> 500 500 501 <span class="more-details" id="{{ data.id }}-action"><?php _e( 'Theme Details' ); ?></span>501 <span class="more-details" id="{{ data.id }}-action"><?php _e( 'Theme details' ); ?></span> 502 502 <div class="theme-author"> 503 503 <?php 504 504 /* translators: %s: Theme author name. */ … … 529 529 $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' ); 530 530 ?> 531 531 <a class="button activate" href="{{{ data.actions.activate }}}" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a> 532 <a class="button button-primary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live Preview' ); ?></a>532 <a class="button button-primary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live preview' ); ?></a> 533 533 <# } #> 534 534 </div> 535 535 </div> … … 571 571 572 572 <# if ( data.hasUpdate ) { #> 573 573 <div class="notice notice-warning notice-alt notice-large"> 574 <h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>574 <h3 class="notice-title"><?php _e( 'Update available' ); ?></h3> 575 575 {{{ data.update }}} 576 576 </div> 577 577 <# } #> … … 605 605 <# if ( data.actions.activate ) { #> 606 606 <a href="{{{ data.actions.activate }}}" class="button activate" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a> 607 607 <# } #> 608 <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a>608 <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live preview' ); ?></a> 609 609 </div> 610 610 611 611 <# if ( ! data.active && data.actions['delete'] ) { #> -
wp-admin/update-core.php
52 52 if ( ! isset( $update->response ) || 'latest' == $update->response ) { 53 53 $current = true; 54 54 } 55 $submit = __( 'Update Now' );55 $submit = __( 'Update now' ); 56 56 $form_action = 'update-core.php?action=do-core-upgrade'; 57 57 $php_version = phpversion(); 58 58 $mysql_version = $wpdb->db_version(); … … 63 63 if ( $current ) { 64 64 /* translators: %s: WordPress version. */ 65 65 $message = sprintf( __( 'If you need to re-install version %s, you can do so here:' ), $version_string ); 66 $submit = __( 'Re-install Now' );66 $submit = __( 'Re-install now' ); 67 67 $form_action = 'update-core.php?action=do-core-reinstall'; 68 68 } else { 69 69 $php_compat = version_compare( $php_version, $update->php_version, '>=' ); … … 310 310 } 311 311 ?> 312 312 <h2><?php _e( 'Plugins' ); ?></h2> 313 <p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins”.' ); ?></p>313 <p><?php _e( 'The following plugins have new versions available. Check the ones you want to update and then click “Update plugins”.' ); ?></p> 314 314 <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade"> 315 315 <?php wp_nonce_field( 'upgrade-core' ); ?> 316 <p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e( 'Update Plugins' ); ?>" name="upgrade" /></p>316 <p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e( 'Update plugins' ); ?>" name="upgrade" /></p> 317 317 <table class="widefat updates-table" id="update-plugins-table"> 318 318 <thead> 319 319 <tr> 320 320 <td class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></td> 321 <td class="manage-column"><label for="plugins-select-all"><?php _e( 'Select All' ); ?></label></td>321 <td class="manage-column"><label for="plugins-select-all"><?php _e( 'Select all' ); ?></label></td> 322 322 </tr> 323 323 </thead> 324 324 … … 426 426 <tfoot> 427 427 <tr> 428 428 <td class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></td> 429 <td class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select All' ); ?></label></td>429 <td class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select all' ); ?></label></td> 430 430 </tr> 431 431 </tfoot> 432 432 </table> 433 <p><input id="upgrade-plugins-2" class="button" type="submit" value="<?php esc_attr_e( 'Update Plugins' ); ?>" name="upgrade" /></p>433 <p><input id="upgrade-plugins-2" class="button" type="submit" value="<?php esc_attr_e( 'Update plugins' ); ?>" name="upgrade" /></p> 434 434 </form> 435 435 <?php 436 436 } … … 468 468 <thead> 469 469 <tr> 470 470 <td class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></td> 471 <td class="manage-column"><label for="themes-select-all"><?php _e( 'Select All' ); ?></label></td>471 <td class="manage-column"><label for="themes-select-all"><?php _e( 'Select all' ); ?></label></td> 472 472 </tr> 473 473 </thead> 474 474 … … 508 508 <tfoot> 509 509 <tr> 510 510 <td class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></td> 511 <td class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select All' ); ?></label></td>511 <td class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select all' ); ?></label></td> 512 512 </tr> 513 513 </tfoot> 514 514 </table> … … 706 706 ) 707 707 ); 708 708 709 $updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure: just <strong>click on the “Update Now” button</strong> when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '</p>';709 $updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure: just <strong>click on the “Update now” button</strong> when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '</p>'; 710 710 $updates_howto .= '<p>' . __( '<strong>Themes and Plugins</strong> — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate “Update” button</strong>. To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button.' ) . '</p>'; 711 711 712 712 if ( 'en_US' != get_locale() ) { … … 757 757 echo '<p>'; 758 758 /* translators: 1: Date, 2: Time. */ 759 759 printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check ), date_i18n( __( 'g:i a' ), $last_update_check ) ); 760 echo ' <a class="button" href="' . esc_url( self_admin_url( 'update-core.php?force-check=1' ) ) . '">' . __( 'Check Again' ) . '</a>';760 echo ' <a class="button" href="' . esc_url( self_admin_url( 'update-core.php?force-check=1' ) ) . '">' . __( 'Check again' ) . '</a>'; 761 761 echo '</p>'; 762 762 763 763 if ( current_user_can( 'update_core' ) ) { -
wp-admin/update.php
149 149 150 150 $file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' ); 151 151 152 $title = __( 'Upload Plugin' );152 $title = __( 'Upload plugin' ); 153 153 $parent_file = 'plugins.php'; 154 154 $submenu_file = 'plugin-install.php'; 155 155 require_once( ABSPATH . 'wp-admin/admin-header.php' ); … … 179 179 180 180 wp_enqueue_script( 'updates' ); 181 181 182 $title = __( 'Update Theme' );182 $title = __( 'Update theme' ); 183 183 $parent_file = 'themes.php'; 184 184 $submenu_file = 'themes.php'; 185 185 require_once( ABSPATH . 'wp-admin/admin-header.php' ); … … 242 242 wp_die( $api ); 243 243 } 244 244 245 $title = __( 'Install Themes' );245 $title = __( 'Install themes' ); 246 246 $parent_file = 'themes.php'; 247 247 $submenu_file = 'themes.php'; 248 248 require_once( ABSPATH . 'wp-admin/admin-header.php' ); … … 268 268 269 269 $file_upload = new File_Upload_Upgrader( 'themezip', 'package' ); 270 270 271 $title = __( 'Upload Theme' );271 $title = __( 'Upload theme' ); 272 272 $parent_file = 'themes.php'; 273 273 $submenu_file = 'theme-install.php'; 274 274 … … 275 275 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 276 276 277 277 /* translators: %s: File name. */ 278 $title = sprintf( __( 'Installing Theme from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) );278 $title = sprintf( __( 'Installing theme from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) ); 279 279 $nonce = 'theme-upload'; 280 280 $url = add_query_arg( array( 'package' => $file_upload->id ), 'update.php?action=upload-theme' ); 281 281 $type = 'upload'; //Install plugin type, From Web or an Upload. -
wp-admin/upload.php
55 55 'content' => 56 56 '<p>' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first.' ) . '</p>' . 57 57 '<p>' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '</p>' . 58 '<p>' . __( 'To delete media items, click the Bulk Select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to viewing your media.' ) . '</p>',58 '<p>' . __( 'To delete media items, click the Bulk select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to viewing your media.' ) . '</p>', 59 59 ) 60 60 ); 61 61 … … 87 87 <?php 88 88 if ( current_user_can( 'upload_files' ) ) { 89 89 ?> 90 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>90 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html_x( 'Add new', 'file' ); ?></a> 91 91 <?php 92 92 } 93 93 ?> … … 223 223 'id' => 'overview', 224 224 'title' => __( 'Overview' ), 225 225 'content' => 226 '<p>' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '</p>' .226 '<p>' . __( 'All the files you’ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen options tab to customize the display of this screen.' ) . '</p>' . 227 227 '<p>' . __( 'You can narrow the list by file type/status or by date using the dropdown menus above the media table.' ) . '</p>' . 228 228 '<p>' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '</p>', 229 229 ) … … 233 233 'id' => 'actions-links', 234 234 'title' => __( 'Available Actions' ), 235 235 'content' => 236 '<p>' . __( 'Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>',236 '<p>' . __( 'Hovering over a row reveals action links: Edit, Delete permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>', 237 237 ) 238 238 ); 239 239 get_current_screen()->add_help_tab( … … 268 268 <?php 269 269 if ( current_user_can( 'upload_files' ) ) { 270 270 ?> 271 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>271 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add new', 'file' ); ?></a> 272 272 <?php 273 273 } 274 274 -
wp-admin/user-edit.php
50 50 '<p>' . __( 'You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things. You can hide the Toolbar (formerly called the Admin Bar) from the front end of your site, however it cannot be disabled on the admin screens.' ) . '</p>' . 51 51 '<p>' . __( 'You can select the language you wish to use while using the WordPress administration screen without affecting the language site visitors see.' ) . '</p>' . 52 52 '<p>' . __( 'Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.' ) . '</p>' . 53 '<p>' . __( 'You can log out of other devices, such as your phone or a public computer, by clicking the Log Out Everywhere Else button.' ) . '</p>' .53 '<p>' . __( 'You can log out of other devices, such as your phone or a public computer, by clicking the Log out everywhere else button.' ) . '</p>' . 54 54 '<p>' . __( 'Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.' ) . '</p>' . 55 '<p>' . __( 'Remember to click the Update Profile button when you are finished.' ) . '</p>';55 '<p>' . __( 'Remember to click the Update profile button when you are finished.' ) . '</p>'; 56 56 57 57 get_current_screen()->add_help_tab( 58 58 array( … … 258 258 <table class="form-table" role="presentation"> 259 259 <?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?> 260 260 <tr class="user-rich-editing-wrap"> 261 <th scope="row"><?php _e( 'Visual Editor' ); ?></th>261 <th scope="row"><?php _e( 'Visual editor' ); ?></th> 262 262 <td> 263 263 <label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php checked( 'false', $profileuser->rich_editing ); ?> /> 264 264 <?php _e( 'Disable the visual editor when writing' ); ?> … … 281 281 282 282 <?php if ( $show_syntax_highlighting_preference ) : ?> 283 283 <tr class="user-syntax-highlighting-wrap"> 284 <th scope="row"><?php _e( 'Syntax Highlighting' ); ?></th>284 <th scope="row"><?php _e( 'Syntax highlighting' ); ?></th> 285 285 <td> 286 286 <label for="syntax_highlighting"><input name="syntax_highlighting" type="checkbox" id="syntax_highlighting" value="false" <?php checked( 'false', $profileuser->syntax_highlighting ); ?> /> 287 287 <?php _e( 'Disable syntax highlighting when editing code' ); ?> … … 292 292 293 293 <?php if ( count( $_wp_admin_css_colors ) > 1 && has_action( 'admin_color_scheme_picker' ) ) : ?> 294 294 <tr class="user-admin-color-wrap"> 295 <th scope="row"><?php _e( 'Admin Color Scheme' ); ?></th>295 <th scope="row"><?php _e( 'Admin color scheme' ); ?></th> 296 296 <td> 297 297 <?php 298 298 /** … … 315 315 if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : 316 316 ?> 317 317 <tr class="user-comment-shortcuts-wrap"> 318 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>318 <th scope="row"><?php _e( 'Keyboard shortcuts' ); ?></th> 319 319 <td> 320 320 <label for="comment_shortcuts"> 321 321 <input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profileuser->comment_shortcuts ); ?> /> … … 374 374 375 375 <?php 376 376 /** 377 * Fires at the end of the 'Personal Options' settings table on the user editing screen.377 * Fires at the end of the 'Personal options' settings table on the user editing screen. 378 378 * 379 379 * @since 2.7.0 380 380 * … … 387 387 <?php 388 388 if ( IS_PROFILE_PAGE ) { 389 389 /** 390 * Fires after the 'Personal Options' settings table on the 'Your Profile' editing screen.390 * Fires after the 'Personal options' settings table on the 'Your Profile' editing screen. 391 391 * 392 392 * The action only fires if the current user is editing their own profile. 393 393 * … … 442 442 <?php } ?> 443 443 444 444 <tr class="user-first-name-wrap"> 445 <th><label for="first_name"><?php _e( 'First Name' ); ?></label></th>445 <th><label for="first_name"><?php _e( 'First name' ); ?></label></th> 446 446 <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr( $profileuser->first_name ); ?>" class="regular-text" /></td> 447 447 </tr> 448 448 449 449 <tr class="user-last-name-wrap"> 450 <th><label for="last_name"><?php _e( 'Last Name' ); ?></label></th>450 <th><label for="last_name"><?php _e( 'Last name' ); ?></label></th> 451 451 <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr( $profileuser->last_name ); ?>" class="regular-text" /></td> 452 452 </tr> 453 453 … … 565 565 ?> 566 566 </table> 567 567 568 <h2><?php IS_PROFILE_PAGE ? _e( 'About Yourself' ) : _e( 'About the user' ); ?></h2>568 <h2><?php IS_PROFILE_PAGE ? _e( 'About Yourself' ) : _e( 'About the User' ); ?></h2> 569 569 570 570 <table class="form-table" role="presentation"> 571 571 <tr class="user-description-wrap"> 572 <th><label for="description"><?php _e( 'Biographical Info' ); ?></label></th>572 <th><label for="description"><?php _e( 'Biographical info' ); ?></label></th> 573 573 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea> 574 574 <p class="description"><?php _e( 'Share a little biographical information to fill out your profile. This may be shown publicly.' ); ?></p></td> 575 575 </tr> … … 576 576 577 577 <?php if ( get_option( 'show_avatars' ) ) : ?> 578 578 <tr class="user-profile-picture"> 579 <th><?php _e( 'Profile Picture' ); ?></th>579 <th><?php _e( 'Profile picture' ); ?></th> 580 580 <td> 581 581 <?php echo get_avatar( $user_id ); ?> 582 582 <p class="description"> … … 626 626 <h2><?php _e( 'Account Management' ); ?></h2> 627 627 <table class="form-table" role="presentation"> 628 628 <tr id="password" class="user-pass1-wrap"> 629 <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>629 <th><label for="pass1"><?php _e( 'New password' ); ?></label></th> 630 630 <td> 631 631 <input class="hidden" value=" " /><!-- #24364 workaround --> 632 <button type="button" class="button wp-generate-pw hide-if-no-js"><?php _e( 'Generate Password' ); ?></button>632 <button type="button" class="button wp-generate-pw hide-if-no-js"><?php _e( 'Generate password' ); ?></button> 633 633 <div class="wp-pwd hide-if-js"> 634 634 <span class="password-input-wrapper"> 635 635 <input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="off" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" /> … … 647 647 </td> 648 648 </tr> 649 649 <tr class="user-pass2-wrap hide-if-js"> 650 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>650 <th scope="row"><label for="pass2"><?php _e( 'Repeat new password' ); ?></label></th> 651 651 <td> 652 652 <input name="pass2" type="password" id="pass2" class="regular-text" value="" autocomplete="off" /> 653 653 <p class="description"><?php _e( 'Type your new password again.' ); ?></p> … … 654 654 </td> 655 655 </tr> 656 656 <tr class="pw-weak"> 657 <th><?php _e( 'Confirm Password' ); ?></th>657 <th><?php _e( 'Confirm password' ); ?></th> 658 658 <td> 659 659 <label> 660 660 <input type="checkbox" name="pw_weak" class="pw-checkbox" /> … … 670 670 <tr class="user-sessions-wrap hide-if-no-js"> 671 671 <th><?php _e( 'Sessions' ); ?></th> 672 672 <td aria-live="assertive"> 673 <div class="destroy-sessions"><button type="button" disabled class="button"><?php _e( 'Log Out Everywhere Else' ); ?></button></div>673 <div class="destroy-sessions"><button type="button" disabled class="button"><?php _e( 'Log out everywhere else' ); ?></button></div> 674 674 <p class="description"> 675 675 <?php _e( 'You are only logged in at this location.' ); ?> 676 676 </p> … … 680 680 <tr class="user-sessions-wrap hide-if-no-js"> 681 681 <th><?php _e( 'Sessions' ); ?></th> 682 682 <td aria-live="assertive"> 683 <div class="destroy-sessions"><button type="button" class="button" id="destroy-sessions"><?php _e( 'Log Out Everywhere Else' ); ?></button></div>683 <div class="destroy-sessions"><button type="button" class="button" id="destroy-sessions"><?php _e( 'Log out everywhere else' ); ?></button></div> 684 684 <p class="description"> 685 685 <?php _e( 'Did you lose your phone or leave your account logged in at a public computer? You can log out everywhere else, and stay logged in here.' ); ?> 686 686 </p> … … 690 690 <tr class="user-sessions-wrap hide-if-no-js"> 691 691 <th><?php _e( 'Sessions' ); ?></th> 692 692 <td> 693 <p><button type="button" class="button" id="destroy-sessions"><?php _e( 'Log Out Everywhere' ); ?></button></p>693 <p><button type="button" class="button" id="destroy-sessions"><?php _e( 'Log out everywhere' ); ?></button></p> 694 694 <p class="description"> 695 695 <?php 696 696 /* translators: %s: User's display name. */ … … 775 775 <input type="hidden" name="action" value="update" /> 776 776 <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $user_id ); ?>" /> 777 777 778 <?php submit_button( IS_PROFILE_PAGE ? __( 'Update Profile' ) : __( 'Update User' ) ); ?>778 <?php submit_button( IS_PROFILE_PAGE ? __( 'Update profile' ) : __( 'Update User' ) ); ?> 779 779 780 780 </form> 781 781 </div> -
wp-admin/user-new.php
487 487 </tr> 488 488 <?php if ( ! is_multisite() ) { ?> 489 489 <tr class="form-field"> 490 <th scope="row"><label for="first_name"><?php _e( 'First Name' ); ?> </label></th>490 <th scope="row"><label for="first_name"><?php _e( 'First name' ); ?> </label></th> 491 491 <td><input name="first_name" type="text" id="first_name" value="<?php echo esc_attr( $new_user_firstname ); ?>" /></td> 492 492 </tr> 493 493 <tr class="form-field"> 494 <th scope="row"><label for="last_name"><?php _e( 'Last Name' ); ?> </label></th>494 <th scope="row"><label for="last_name"><?php _e( 'Last name' ); ?> </label></th> 495 495 <td><input name="last_name" type="text" id="last_name" value="<?php echo esc_attr( $new_user_lastname ); ?>" /></td> 496 496 </tr> 497 497 <tr class="form-field"> … … 541 541 </td> 542 542 </tr> 543 543 <tr> 544 <th scope="row"><?php _e( 'Send User Notification' ); ?></th>544 <th scope="row"><?php _e( 'Send user notification' ); ?></th> 545 545 <td> 546 546 <input type="checkbox" name="send_user_notification" id="send_user_notification" value="1" <?php checked( $new_user_send_notification ); ?> /> 547 547 <label for="send_user_notification"><?php _e( 'Send the new user an email about their account.' ); ?></label> … … 576 576 do_action( 'user_new_form', 'add-new-user' ); 577 577 ?> 578 578 579 <?php submit_button( __( 'Add New User' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?>579 <?php submit_button( __( 'Add new user' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?> 580 580 581 581 </form> 582 582 <?php } // current_user_can('create_users') ?> -
wp-admin/users.php
41 41 'title' => __( 'Screen Content' ), 42 42 'content' => '<p>' . __( 'You can customize the display of this screen in a number of ways:' ) . '</p>' . 43 43 '<ul>' . 44 '<li>' . __( 'You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.' ) . '</li>' .44 '<li>' . __( 'You can hide/display columns based on your needs and decide how many users to list per screen using the Screen options tab.' ) . '</li>' . 45 45 '<li>' . __( 'You can filter the list of users by User Role using the text links above the users list to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.' ) . '</li>' . 46 46 '<li>' . __( 'You can view all posts made by a user by clicking on the number under the Posts column.' ) . '</li>' . 47 47 '</ul>', … … 53 53 '<li>' . __( '<strong>Edit</strong> takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.' ) . '</li>'; 54 54 55 55 if ( is_multisite() ) { 56 $help .= '<li>' . __( '<strong>Remove</strong> allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>';56 $help .= '<li>' . __( '<strong>Remove</strong> allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk actions.' ) . '</li>'; 57 57 } else { 58 $help .= '<li>' . __( '<strong>Delete</strong> brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>';58 $help .= '<li>' . __( '<strong>Delete</strong> brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk actions.' ) . '</li>'; 59 59 } 60 60 61 61 $help .= '</ul>'; … … 561 561 <?php 562 562 if ( current_user_can( 'create_users' ) ) { 563 563 ?> 564 <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>564 <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add new', 'user' ); ?></a> 565 565 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 566 <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>566 <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add existing', 'user' ); ?></a> 567 567 <?php 568 568 } 569 569 … … 579 579 580 580 <form method="get"> 581 581 582 <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?>582 <?php $wp_list_table->search_box( __( 'Search users' ), 'user' ); ?> 583 583 584 584 <?php if ( ! empty( $_REQUEST['role'] ) ) { ?> 585 585 <input type="hidden" name="role" value="<?php echo esc_attr( $_REQUEST['role'] ); ?>" /> -
wp-admin/widgets.php
65 65 'content' => 66 66 '<p>' . __( 'If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.' ) . '</p> 67 67 <p>' . __( 'Widgets may be used multiple times. You can give each widget a title, to display on your site, but it’s not required.' ) . '</p> 68 <p>' . __( 'Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.' ) . '</p>',68 <p>' . __( 'Enabling Accessibility Mode, via Screen options, allows you to use Add and Edit buttons instead of using drag and drop.' ) . '</p>', 69 69 ) 70 70 ); 71 71 get_current_screen()->add_help_tab( … … 402 402 admin_url( 'customize.php' ) 403 403 ) 404 404 ), 405 __( 'Manage with Live Preview' )405 __( 'Manage with live preview' ) 406 406 ); 407 407 } 408 408 … … 479 479 $attributes['disabled'] = ''; 480 480 } 481 481 482 submit_button( __( 'Clear Inactive Widgets' ), 'delete', 'removeinactivewidgets', false, $attributes );482 submit_button( __( 'Clear inactive widgets' ), 'delete', 'removeinactivewidgets', false, $attributes ); 483 483 ?> 484 484 <span class="spinner"></span> 485 485 </p> -
wp-includes/class-wp-customize-control.php
622 622 <?php if ( $this->allow_addition && current_user_can( 'publish_pages' ) && current_user_can( 'edit_theme_options' ) ) : // Currently tied to menus functionality. ?> 623 623 <button type="button" class="button-link add-new-toggle"> 624 624 <?php 625 /* translators: %s: Add New Page label. */625 /* translators: %s: Add new page label. */ 626 626 printf( __( '+ %s' ), get_post_type_object( 'page' )->labels->add_new_item ); 627 627 ?> 628 628 </button> -
wp-includes/class-wp-customize-manager.php
4508 4508 $document_title_tmpl = __( 'Customize: %s' ); 4509 4509 } else { 4510 4510 /* translators: %s: Document title from the preview. */ 4511 $document_title_tmpl = __( 'Live Preview: %s' );4511 $document_title_tmpl = __( 'Live preview: %s' ); 4512 4512 } 4513 4513 $document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title. 4514 4514 return $document_title_tmpl; … … 4763 4763 } 4764 4764 $status_choices[] = array( 4765 4765 'status' => 'draft', 4766 'label' => __( 'Save Draft' ),4766 'label' => __( 'Save draft' ), 4767 4767 ); 4768 4768 if ( $current_user_can_publish ) { 4769 4769 $status_choices[] = array( -
wp-includes/class-wp-customize-nav-menus.php
450 450 'menuLocation' => _x( '(Currently set to: %s)', 'menu' ), 451 451 'locationsTitle' => 1 === $num_locations ? __( 'Menu Location' ) : __( 'Menu Locations' ), 452 452 'locationsDescription' => $locations_description, 453 'menuNameLabel' => __( 'Menu Name' ),453 'menuNameLabel' => __( 'Menu name' ), 454 454 'newMenuNameDescription' => __( 'If your theme has multiple menus, giving them clear names will help you manage them.' ), 455 455 'itemAdded' => __( 'Menu item added' ), 456 456 'itemDeleted' => __( 'Menu item deleted' ), … … 636 636 $this->manager->add_section( 637 637 'menu_locations', 638 638 array( 639 'title' => 1 === $num_locations ? _x( 'View Location', 'menu locations' ) : _x( 'View All Locations', 'menu locations' ),639 'title' => 1 === $num_locations ? _x( 'View location', 'menu locations' ) : _x( 'View all locations', 'menu locations' ), 640 640 'panel' => 'nav_menus', 641 641 'priority' => 30, 642 642 'description' => $description, … … 1037 1037 <script type="text/html" id="tmpl-nav-menu-delete-button"> 1038 1038 <div class="menu-delete-item"> 1039 1039 <button type="button" class="button-link button-link-delete"> 1040 <?php _e( 'Delete Menu' ); ?>1040 <?php _e( 'Delete menu' ); ?> 1041 1041 </button> 1042 1042 </div>