Changeset 35129 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 10/13/2015 06:59:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r34911 r35129 506 506 <?php if ( current_user_can( $taxonomy->cap->edit_terms ) ) : ?> 507 507 <div id="<?php echo $tax_name; ?>-adder" class="wp-hidden-children"> 508 <h4> 509 <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js"> 510 <?php 511 /* translators: %s: add new taxonomy label */ 512 printf( __( '+ %s' ), $taxonomy->labels->add_new_item ); 513 ?> 514 </a> 515 </h4> 508 <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js taxonomy-add-new"> 509 <?php 510 /* translators: %s: add new taxonomy label */ 511 printf( __( '+ %s' ), $taxonomy->labels->add_new_item ); 512 ?> 513 </a> 516 514 <p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child"> 517 515 <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label> … … 942 940 943 941 <div id="category-adder" class="wp-hidden-children"> 944 < h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>942 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a> 945 943 <p id="link-category-add" class="wp-hidden-child"> 946 944 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
Note: See TracChangeset
for help on using the changeset viewer.