Make WordPress Core


Ignore:
Timestamp:
04/20/2015 03:26:24 AM (9 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/site-info.php

    r32116 r32152  
    4141$details = get_blog_details( $id );
    4242if ( !can_edit_network( $details->site_id ) )
    43     wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) );
     43    wp_die( __( 'You do not have permission to access this page.' ), 403 );
    4444
    4545$parsed = parse_url( $details->siteurl );
Note: See TracChangeset for help on using the changeset viewer.