WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/25/2015 12:15:46 AM (5 years ago)
Author:
johnbillion
Message:

Introduce a no_terms label for taxonomies. This label is used when indicating that there are no terms in the given taxonomy associated with an object.

Fixes #32150
Props afercia

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r32903 r32933  
    904904                echo join( __( ', ' ), $out );
    905905            } else {
    906                 echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . $taxonomy_object->labels->not_found . '</span>';
     906                echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>';
    907907            }
    908908            return;
Note: See TracChangeset for help on using the changeset viewer.