WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/10/2006 05:29:10 AM (14 years ago)
Author:
ryan
Message:

wp_die() improvements from Sewar. fixes #2902

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r3985 r4006  
    1414
    1515    if ( !current_user_can('manage_categories') )
    16         die (__('Cheatin’ uh?'));
     16        wp_die(__('Cheatin’ uh?'));
    1717
    1818    wp_insert_category($_POST);
     
    2626
    2727    if ( !current_user_can('manage_categories') )
    28         die (__('Cheatin’ uh?'));
     28        wp_die(__('Cheatin’ uh?'));
    2929
    3030    $cat_name = get_catname($cat_ID);
     
    5757
    5858    if ( !current_user_can('manage_categories') )
    59         die (__('Cheatin’ uh?'));
     59        wp_die(__('Cheatin’ uh?'));
    6060
    6161    wp_update_category($_POST);
Note: See TracChangeset for help on using the changeset viewer.