Changeset 44924 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 03/18/2019 03:21:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r44608 r44924 886 886 $awaiting_mod = wp_count_comments(); 887 887 $awaiting_mod = $awaiting_mod->moderated; 888 $awaiting_text = sprintf( _n( '%s comment awaiting moderation', '%s comments awaiting moderation', $awaiting_mod ), number_format_i18n( $awaiting_mod ) ); 888 $awaiting_text = sprintf( 889 /* translators: %s: number of comments in moderation */ 890 _n( '%s Comment in moderation', '%s Comments in moderation', $awaiting_mod ), 891 number_format_i18n( $awaiting_mod ) 892 ); 889 893 890 894 $icon = '<span class="ab-icon"></span>'; 891 895 $title = '<span class="ab-label awaiting-mod pending-count count-' . $awaiting_mod . '" aria-hidden="true">' . number_format_i18n( $awaiting_mod ) . '</span>'; 892 $title .= '<span class="screen-reader-text ">' . $awaiting_text . '</span>';896 $title .= '<span class="screen-reader-text comments-in-moderation-text">' . $awaiting_text . '</span>'; 893 897 894 898 $wp_admin_bar->add_menu(
Note: See TracChangeset
for help on using the changeset viewer.