Changeset 33144
- Timestamp:
- 07/09/2015 04:28:42 PM (11 years ago)
- Location:
- trunk/src/wp-admin/network
- Files:
-
- 4 edited
-
site-info.php (modified) (1 diff)
-
site-settings.php (modified) (1 diff)
-
site-themes.php (modified) (1 diff)
-
site-users.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-info.php
r32974 r33144 43 43 44 44 $details = get_blog_details( $id ); 45 if ( ! $details ) { 46 wp_die( __( 'The requested site does not exist.' ) ); 47 } 48 45 49 if ( ! can_edit_network( $details->site_id ) ) { 46 50 wp_die( __( 'You do not have permission to access this page.' ), 403 ); -
trunk/src/wp-admin/network/site-settings.php
r32974 r33144 40 40 41 41 $details = get_blog_details( $id ); 42 if ( ! $details ) { 43 wp_die( __( 'The requested site does not exist.' ) ); 44 } 45 42 46 if ( !can_edit_network( $details->site_id ) ) 43 47 wp_die( __( 'You do not have permission to access this page.' ), 403 ); -
trunk/src/wp-admin/network/site-themes.php
r32974 r33144 57 57 58 58 $details = get_blog_details( $id ); 59 if ( ! $details ) { 60 wp_die( __( 'The requested site does not exist.' ) ); 61 } 62 59 63 if ( !can_edit_network( $details->site_id ) ) 60 64 wp_die( __( 'You do not have permission to access this page.' ), 403 ); -
trunk/src/wp-admin/network/site-users.php
r32974 r33144 50 50 51 51 $details = get_blog_details( $id ); 52 if ( ! $details ) { 53 wp_die( __( 'The requested site does not exist' ) ); 54 } 55 52 56 if ( ! can_edit_network( $details->site_id ) ) 53 57 wp_die( __( 'You do not have permission to access this page.' ), 403 );
Note: See TracChangeset
for help on using the changeset viewer.