Changeset 31300 for trunk/src/wp-admin/includes/ms.php
- Timestamp:
- 01/29/2015 09:14:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r31113 r31300 626 626 627 627 if ( empty( $blogs ) ) 628 wp_die( sprintf( __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), $blog_name ) );628 wp_die( sprintf( __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), $blog_name ), 403 ); 629 629 630 630 $output = '<p>' . sprintf( __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), $blog_name ) . '</p>'; … … 644 644 $output .= '</table>'; 645 645 646 wp_die( $output );646 wp_die( $output, 403 ); 647 647 } 648 648 add_action( 'admin_page_access_denied', '_access_denied_splash', 99 );
Note: See TracChangeset
for help on using the changeset viewer.