Make WordPress Core


Ignore:
Timestamp:
04/20/2015 03:26:24 AM (11 years ago)
Author:
nacin
Message:

Update wp_die() calls modified in [31658] to use shorthand calling style.

see #31422.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/user-new.php

    r32116 r32152  
    3333if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) {
    3434    check_admin_referer( 'add-user', '_wpnonce_add-user' );
     35
    3536    if ( ! current_user_can( 'manage_network_users' ) )
    36         wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) );
     37        wp_die( __( 'You do not have permission to access this page.' ), 403 );
    3738
    3839    if ( ! is_array( $_POST['user'] ) )
Note: See TracChangeset for help on using the changeset viewer.