Changeset 32933
- Timestamp:
- 06/25/2015 12:15:46 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r32805 r32933 510 510 echo join( __( ', ' ), $out ); 511 511 } else { 512 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no t_found. '</span>';512 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no_terms . '</span>'; 513 513 } 514 514 -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r32903 r32933 904 904 echo join( __( ', ' ), $out ); 905 905 } else { 906 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->no t_found. '</span>';906 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>'; 907 907 } 908 908 return; -
trunk/src/wp-includes/taxonomy.php
r32910 r32933 473 473 * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags", used in the meta box. 474 474 * - not_found - Default is "No tags found"/"No categories found", used in the meta box and taxonomy list table. 475 * - no_terms - Default is "No tags"/"No categories", used in the posts and media list tables. 475 476 * 476 477 * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories). … … 479 480 * 480 481 * @since 3.0.0 482 * @since 4.3.0 Added the `no_terms` label. 481 483 * 482 484 * @param object $tax Taxonomy object. … … 509 511 'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ), 510 512 'not_found' => array( __( 'No tags found.' ), __( 'No categories found.' ) ), 513 'no_terms' => array( __( 'No tags' ), __( 'No categories' ) ), 511 514 ); 512 515 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
Note: See TracChangeset
for help on using the changeset viewer.