diff --git a/wp-admin/customize.php b/wp-admin/customize.php index cd2550c1a8..f202bea13b 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -207,7 +207,12 @@ do_action( 'customize_controls_head' ); - + + + @@ -230,7 +235,12 @@ do_action( 'customize_controls_head' ); printf( __( 'You are customizing %s' ), '' . get_bloginfo( 'name', 'display' ) . '' ); ?> - +

diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 39bd35e769..134c8bb05d 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -47,7 +47,12 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_

- + + + @@ -73,8 +78,13 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
+ ' . __( 'Comment' ) . ''; $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); wp_editor( $comment->comment_content, @@ -117,7 +127,12 @@ switch ( $comment->comment_approved ) {
- + + +

@@ -141,9 +156,19 @@ $submitted = sprintf( printf( __( 'Submitted on: %s' ), '' . $submitted . '' ); ?> - + + +
- + + +
- + + +

@@ -207,7 +212,12 @@ function export_date_options( $post_type = 'post' ) {
  • - + + + @@ -294,7 +309,12 @@ foreach ( get_post_types(
    • - + + +
  • - - - @@ -451,7 +466,12 @@ class Custom_Background { - @@ -459,7 +479,12 @@ class Custom_Background { -'; diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 1b288786cd..8aad24250b 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -506,7 +506,11 @@ class WP_Comments_List_Table extends WP_List_Table { ); if ( $comment_types && is_array( $comment_types ) ) { - printf( '', __( 'Filter by comment type' ) ); + printf( + '', + /* translators: Hidden accessibility text. */ + __( 'Filter by comment type' ) + ); echo ' diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index a043af12d1..104bd446ab 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -560,7 +560,10 @@ class WP_List_Table { return; } - echo ''; + echo ''; echo '", - '', + '', $current, strlen( $total_pages ) ); @@ -1035,6 +1057,7 @@ class WP_List_Table { $page_links[] = sprintf( "%s", esc_url( add_query_arg( 'paged', min( $total_pages, $current + 1 ), $current_url ) ), + /* translators: Hidden accessibility text. */ __( 'Next page' ), '›' ); @@ -1046,6 +1069,7 @@ class WP_List_Table { $page_links[] = sprintf( "%s", esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), + /* translators: Hidden accessibility text. */ __( 'Last page' ), '»' ); @@ -1282,8 +1306,11 @@ class WP_List_Table { if ( ! empty( $columns['cb'] ) ) { static $cb_counter = 1; - $columns['cb'] = '' - . ''; + $columns['cb'] = '' . + ''; $cb_counter++; } @@ -1548,7 +1575,10 @@ class WP_List_Table { * if the current column is not the primary column. */ protected function handle_row_actions( $item, $column_name, $primary ) { - return $column_name === $primary ? '' : ''; + return $column_name === $primary ? '' : ''; } /** diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index 266b365ee2..f3bb488919 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -278,7 +278,12 @@ class WP_Media_List_Table extends WP_List_Table {
    view_switcher( $mode ); ?> - + - + @@ -309,7 +309,10 @@ class WP_MS_Users_List_Table extends WP_List_Table { } elseif ( $user->last_name ) { echo $user->last_name; } else { - echo '' . _x( 'Unknown', 'name' ) . ''; + echo '' . + /* translators: Hidden accessibility text. */ + _x( 'Unknown', 'name' ) . + ''; } } diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index 4b81be9a3e..86bc2531e8 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -985,7 +985,7 @@ class WP_Plugins_List_Table extends WP_List_Table { '' . '', $checkbox_id, - /* translators: %s: Plugin name. */ + /* translators: Hidden accessibility text. %s: Plugin name. */ sprintf( __( 'Select %s' ), $plugin_data['Name'] ), esc_attr( $plugin_file ) ); diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 067dae49e7..06f8836c76 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -534,7 +534,12 @@ class WP_Posts_List_Table extends WP_List_Table { $displayed_post_format = isset( $_GET['post_format'] ) ? $_GET['post_format'] : ''; ?> - + ', $tag->term_id, - /* translators: %s: Taxonomy term name. */ + /* translators: Hidden accessibility text. %s: Taxonomy term name. */ sprintf( __( 'Select %s' ), $tag->name ) ); } @@ -547,7 +547,10 @@ class WP_Terms_List_Table extends WP_List_Table { if ( $tag->description ) { return $tag->description; } else { - return '' . __( 'No description' ) . ''; + return '' . + /* translators: Hidden accessibility text. */ + __( 'No description' ) . + ''; } } diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php index 4b6c17ab99..c2cd68102d 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -303,7 +303,12 @@ class WP_Users_List_Table extends WP_List_Table { ?>
    has_items() ) : ?> - + ', $user_object->ID, - /* translators: %s: User login. */ + /* translators: Hidden accessibility text. %s: User login. */ sprintf( __( 'Select %s' ), $user_object->user_login ), $role_classes ); @@ -579,6 +584,7 @@ class WP_Users_List_Table extends WP_List_Table { } else { $row .= sprintf( '%s', + /* translators: Hidden accessibility text. */ _x( 'Unknown', 'name' ) ); } @@ -596,7 +602,7 @@ class WP_Users_List_Table extends WP_List_Table { "edit.php?author={$user_object->ID}", $numposts, sprintf( - /* translators: %s: Number of posts. */ + /* translators: Hidden accessibility text. %s: Number of posts. */ _n( '%s post by this author', '%s posts by this author', $numposts ), number_format_i18n( $numposts ) ) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 4c1f1f6797..1754832ac5 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -492,7 +492,12 @@ function wp_network_dashboard_right_now() {

    - + 'submit_users' ) ); ?>

    @@ -500,7 +505,12 @@ function wp_network_dashboard_right_now() {

    - + 'submit_sites' ) ); ?>

    @@ -1096,7 +1106,10 @@ function wp_dashboard_recent_comments( $total_items = 5 ) { echo ''; if ( current_user_can( 'edit_posts' ) ) { - echo '

    ' . __( 'View more comments' ) . '

    '; + echo '

    ' . + /* translators: Hidden accessibility text. */ + __( 'View more comments' ) . + '

    '; _get_list_table( 'WP_Comments_List_Table' )->views(); } @@ -1287,7 +1300,7 @@ function wp_dashboard_events_news() { '%2$s %3$s', 'https://make.wordpress.org/community/meetups-landing-page', __( 'Meetups' ), - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ); ?> @@ -1299,7 +1312,7 @@ function wp_dashboard_events_news() { '%2$s %3$s', 'https://central.wordcamp.org/schedule/', __( 'WordCamps' ), - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ); ?> @@ -1312,7 +1325,7 @@ function wp_dashboard_events_news() { /* translators: If a Rosetta site exists (e.g. https://es.wordpress.org/news/), then use that. Otherwise, leave untranslated. */ esc_url( _x( 'https://wordpress.org/news/', 'Events and News dashboard widget' ) ), __( 'News' ), - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ); ?> @@ -1637,6 +1650,7 @@ function wp_dashboard_quota() { '%2$s (%3$s)', esc_url( admin_url( 'upload.php' ) ), $text, + /* translators: Hidden accessibility text. */ __( 'Manage Uploads' ) ); ?> @@ -1652,6 +1666,7 @@ function wp_dashboard_quota() { '%2$s (%3$s)', esc_url( admin_url( 'upload.php' ) ), $text, + /* translators: Hidden accessibility text. */ __( 'Manage Uploads' ) ); ?> @@ -1882,7 +1897,7 @@ function wp_dashboard_php_nag() { '%2$s %3$s', esc_url( wp_get_update_php_url() ), __( 'Learn more about updating PHP' ), - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ); ?> diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index e3c1849cc9..774f3b0151 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -339,7 +339,12 @@ function wp_print_file_editor_templates() { <# } #> <# } #> <# if ( data.dismissible ) { #> - + <# } #>
    diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index 281ce03c0f..1313e3246b 100644 --- a/wp-admin/includes/image-edit.php +++ b/wp-admin/includes/image-edit.php @@ -112,7 +112,12 @@ function wp_image_editor( $post_id, $msg = false ) {

    - +

    @@ -132,10 +137,20 @@ function wp_image_editor( $post_id, $msg = false ) {
    - + - + !
    , 'scale')" class="button button-primary" value="" />
    @@ -173,7 +188,12 @@ function wp_image_editor( $post_id, $msg = false ) {

    - +

    @@ -189,10 +209,20 @@ function wp_image_editor( $post_id, $msg = false ) {
    - + - +
    @@ -200,10 +230,20 @@ function wp_image_editor( $post_id, $msg = false ) {
    - + - +
    @@ -218,7 +258,12 @@ function wp_image_editor( $post_id, $msg = false ) {

    - +

    diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index c4a3f58c09..894d16a1ed 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -2261,7 +2261,12 @@ function media_upload_form( $errors = null ) { ?>

    - + @@ -2729,7 +2734,12 @@ function media_upload_library_form( $errors ) {

    @@ -3222,7 +3232,7 @@ function edit_form_image_editor( $post ) { 'target="_blank" rel="noopener"', sprintf( ' %s', - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ) ); diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 68e525189b..b1f1008e36 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -76,7 +76,7 @@ function post_submit_meta_box( $post, $args = array() ) { $preview_button = sprintf( '%1$s %2$s', $preview_button_text, - /* translators: Accessibility text. */ + /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ); ?> @@ -132,11 +132,21 @@ function post_submit_meta_box( $post, $args = array() ) { $private_style = 'style="display:none"'; } ?> - class="edit-post-status hide-if-no-js" role="button"> + class="edit-post-status hide-if-no-js" role="button"> + +
    - + @@ -257,7 +272,12 @@ function post_submit_meta_box( $post, $args = array() ) { /* translators: Post revisions heading. %s: The number of available revisions. */ printf( __( 'Revisions: %s' ), '' . number_format_i18n( $args['args']['revisions_count'] ) . '' ); ?> - + + +
    - + + +
    - + + +
    @@ -492,7 +522,12 @@ function post_format_meta_box( $post, $box ) { ?>
    - + + + />
    /> @@ -700,7 +735,12 @@ function post_categories_meta_box( $post, $box ) { */ function post_excerpt_meta_box( $post ) { ?> - +

    post_name, $post ); ?> - + post_type ); ?> - +

    +
    + +

    @@ -1254,7 +1314,13 @@ function link_xfn_meta_box( $link ) {
    - - - - - - - userblog_id ) ) . "'>{$details->blogname}"; - $user_dropdown = ''; + $user_site = "{$details->blogname}"; + $user_dropdown = ''; $user_dropdown .= " class="quick-search" value="" name="quick-search-posttype-" id="quick-search-posttype-" /> 'submit-quick-search-posttype-' . $post_type_name ) ); ?> @@ -757,6 +763,7 @@ function wp_nav_menu_item_taxonomy_meta_box( $data_object, $box ) { 'format' => '', 'prev_text' => '' . __( '«' ) . '', 'next_text' => '' . __( '»' ) . '', + /* translators: Hidden accessibility text. */ 'before_page_number' => '' . __( 'Page' ) . ' ', 'total' => $num_pages, 'current' => $pagenum, @@ -877,7 +884,12 @@ function wp_nav_menu_item_taxonomy_meta_box( $data_object, $box ) { } ?>

    - + 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?> diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 17428666a7..7d2c0fde71 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -320,13 +320,23 @@ function install_search_form( $deprecated = true ) { ?> - + - + 'search-submit' ) ); ?> @@ -344,7 +354,12 @@ function install_plugins_upload() {

    - + diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 4dfddbdf99..29910f88c5 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -463,7 +463,12 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
    - + 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); wp_editor( @@ -646,7 +651,10 @@ function _list_meta_row( $entry, &$count ) { $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] ); $r .= "\n\t
    "; - $r .= "\n\t\t'; - $r .= "\n\t\t\n\t"; + $r .= "\n\t\t\n\t"; return $r; } @@ -820,7 +831,10 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { $cur_hh = current_time( 'H' ); $cur_mn = current_time( 'i' ); - $month = ''; - $day = ''; - $year = ''; - $hour = ''; - $minute = ''; + $day = ''; + $year = ''; + $hour = ''; + $minute = ''; echo '
    '; /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ @@ -1340,7 +1366,10 @@ function do_meta_boxes( $screen, $context, $data_object ) { echo '

    '; if ( 'dashboard_php_nag' === $box['id'] ) { echo ''; - echo '' . __( 'Warning:' ) . ' '; + echo '' . + /* translators: Hidden accessibility text. */ + __( 'Warning:' ) . + ' '; } echo $box['title']; echo "

    \n"; @@ -1357,7 +1386,10 @@ function do_meta_boxes( $screen, $context, $data_object ) { echo '
    '; echo ''; echo ''; echo ''; echo '
    @@ -426,7 +434,10 @@ if ( isset( $_GET['updated'] ) ) { ); ?>

    - +

    @@ -493,7 +504,10 @@ if ( isset( $_GET['updated'] ) ) {