Make WordPress Core


Ignore:
Timestamp:
07/05/2006 10:00:03 PM (20 years ago)
Author:
ryan
Message:

Use wp_die(). Props filosofo. fixes #2914

File:
1 edited

Legend:

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

    r3947 r3985  
    119119
    120120if (! user_can_access_admin_page()) {
    121         die( __('You do not have sufficient permissions to access this page.') );
     121        wp_die( __('You do not have sufficient permissions to access this page.') );
    122122}
    123123
Note: See TracChangeset for help on using the changeset viewer.