mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
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:
parent
c87224eaf6
commit
cb39d03501
@ -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 '—';
|
echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->not_found . '</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -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 '—';
|
echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->not_found . '</span>';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user