Changeset 20896
- Timestamp:
- 05/25/2012 01:45:16 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r20715 r20896 357 357 </label> 358 358 <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?> 359 <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-su mbit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />359 <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" /> 360 360 <?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?> 361 361 <span id="<?php echo $taxonomy; ?>-ajax-response"></span> -
trunk/wp-admin/press-this.php
r19871 r20896 525 525 </label> 526 526 <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?> 527 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-su mbit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />527 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" /> 528 528 <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?> 529 529 <span id="category-ajax-response"></span>
Note: See TracChangeset
for help on using the changeset viewer.