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-media-list-table.php

    r32805 r32933  
    510510                echo join( __( ', ' ), $out );
    511511            } else {
    512                 echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->not_found . '</span>';
     512                echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no_terms . '</span>';
    513513            }
    514514
Note: See TracChangeset for help on using the changeset viewer.