Make WordPress Core

Ticket #8119: 8119.diff

File 8119.diff, 450 bytes (added by solarissmoke, 14 years ago)
  • wp-admin/edit-tags.php

     
    117117        $tag_ID = (int) $_REQUEST['tag_ID'];
    118118
    119119        $tag = get_term( $tag_ID, $taxonomy, OBJECT, 'edit' );
     120       
     121        if( is_null( $tag ) )
     122                wp_die( __( 'The item you are trying to edit does not exist.' ) );
    120123        include( './edit-tag-form.php' );
    121124
    122125break;