Ticket #18718: 18718.patch
File 18718.patch, 602 bytes (added by , 13 years ago) |
---|
-
wp-admin/edit-tags.php
113 113 case 'edit': 114 114 $title = $tax->labels->edit_item; 115 115 116 require_once ( 'admin-header.php' );117 116 $tag_ID = (int) $_REQUEST['tag_ID']; 118 117 119 118 $tag = get_term( $tag_ID, $taxonomy, OBJECT, 'edit' ); 119 if ( !$tag ) 120 wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); 121 require_once ( 'admin-header.php' ); 120 122 include( './edit-tag-form.php' ); 121 123 122 124 break;