Changeset 16847 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 12/09/2010 06:02:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r16833 r16847 508 508 if ( is_object( $blog ) ) { 509 509 wp_redirect( get_admin_url( $blog->blog_id, '?c=' . $c ) ); // redirect and count to 5, "just in case" 510 exit;511 510 } else { 512 511 wp_redirect( user_admin_url( '?c=' . $c ) ); // redirect and count to 5, "just in case" 513 512 } 514 515 wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); 513 exit; 516 514 } 517 515 add_action( 'admin_page_access_denied', 'redirect_user_to_blog', 99 );
Note: See TracChangeset
for help on using the changeset viewer.