Changeset 15178
- Timestamp:
- 06/09/2010 04:52:25 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
-
admin-ajax.php (modified) (1 diff)
-
edit-tags.php (modified) (1 diff)
-
includes/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r15116 r15178 576 576 } 577 577 578 if ( isset($_POST['screen']) ) 579 set_current_screen($_POST['screen']); 580 578 581 $level = 0; 579 582 $tag_full_name = false; -
trunk/wp-admin/edit-tags.php
r15175 r15178 384 384 <form id="addtag" method="post" action="edit-tags.php" class="validate"> 385 385 <input type="hidden" name="action" value="add-tag" /> 386 <input type="hidden" name="screen" value="<?php echo esc_attr($current_screen->id); ?>" /> 386 387 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" /> 387 388 <?php wp_nonce_field('add-tag'); ?> -
trunk/wp-admin/includes/template.php
r15175 r15178 3910 3910 $current_screen = array('id' => $current_screen, 'base' => $current_screen); 3911 3911 } else { 3912 if ( false !== strpos($id, '-') ) 3912 $id = sanitize_key($id); 3913 if ( false !== strpos($id, '-') ) { 3913 3914 list( $id, $typenow ) = explode('-', $id, 2); 3915 if ( is_taxonomy($typenow) ) { 3916 $id = 'edit-tags'; 3917 $taxnow = $typenow; 3918 $typenow = ''; 3919 } 3920 } 3914 3921 $current_screen = array('id' => $id, 'base' => $id); 3915 3922 }
Note: See TracChangeset
for help on using the changeset viewer.