Changeset 35875
- Timestamp:
- 12/11/2015 10:48:49 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r34319 r35875 12 12 13 13 if ( empty($tag_ID) ) { ?> 14 <div id="message" class="updated notice is-dismissible"><p><strong><?php _e( 'You did not select an item for editing.' ); ?></strong></p></div> 14 <div class="wrap"> 15 <h1><?php echo $tax->labels->edit_item; ?></h1> 16 <div id="message" class="notice notice-warning"><p><strong><?php _e( 'You did not select an item for editing.' ); ?></strong></p></div> 17 </div> 15 18 <?php 16 19 return; -
trunk/src/wp-admin/edit-tags.php
r35376 r35875 152 152 case 'edit': 153 153 $title = $tax->labels->edit_item; 154 155 if ( ! isset( $_REQUEST['tag_ID'] ) ) { 156 break; 157 } 154 158 155 159 $tag_ID = (int) $_REQUEST['tag_ID']; -
trunk/src/wp-includes/admin-bar.php
r35749 r35875 575 575 } 576 576 } elseif ( 'edit-tags' == $current_screen->base 577 && isset( $tag ) && is_object( $tag ) 577 && isset( $tag ) && is_object( $tag ) && ! is_wp_error( $tag ) 578 578 && ( $tax = get_taxonomy( $tag->taxonomy ) ) 579 579 && $tax->public )
Note: See TracChangeset
for help on using the changeset viewer.