Improve non-visual feedback for list table items without terms.

Props karpstrucking, afercia.
Fixes #32150.


Built from https://develop.svn.wordpress.org/trunk@32725


git-svn-id: http://core.svn.wordpress.org/trunk@32695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-06-11 09:28:31 +00:00
parent c87224eaf6
commit cb39d03501
3 changed files with 3 additions and 3 deletions

View File

@ -496,7 +496,7 @@ foreach ( $columns as $column_name => $column_display_name ) {
/* translators: used between list items, there is a space after the comma */ /* translators: used between list items, there is a space after the comma */
echo join( __( ', ' ), $out ); echo join( __( ', ' ), $out );
} else { } else {
echo '&#8212;'; echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->not_found . '</span>';
} }
break; break;

View File

@ -907,7 +907,7 @@ class WP_Posts_List_Table extends WP_List_Table {
/* translators: used between list items, there is a space after the comma */ /* translators: used between list items, there is a space after the comma */
echo join( __( ', ' ), $out ); echo join( __( ', ' ), $out );
} else { } else {
echo '&#8212;'; echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . $taxonomy_object->labels->not_found . '</span>';
} }
break; break;
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32724'; $wp_version = '4.3-alpha-32725';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.