Make WordPress Core


Ignore:
Timestamp:
07/01/2017 02:45:02 PM (7 years ago)
Author:
boonebgorges
Message:

Introduce most_used taxonomy label, for text on 'Most Used' metabox tab.

Props mdifelice, jlambe.
Fixes #41150.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r40643 r40984  
    497497        <ul id="<?php echo $tax_name; ?>-tabs" class="category-tabs">
    498498            <li class="tabs"><a href="#<?php echo $tax_name; ?>-all"><?php echo $taxonomy->labels->all_items; ?></a></li>
    499             <li class="hide-if-no-js"><a href="#<?php echo $tax_name; ?>-pop"><?php _e( 'Most Used' ); ?></a></li>
     499            <li class="hide-if-no-js"><a href="#<?php echo $tax_name; ?>-pop"><?php echo esc_html( $taxonomy->labels->most_used ); ?></a></li>
    500500        </ul>
    501501
Note: See TracChangeset for help on using the changeset viewer.