Changeset 42719 for trunk/src/wp-admin/options.php
- Timestamp:
- 02/19/2018 02:12:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r42671 r42719 47 47 if ( ! current_user_can( $capability ) ) { 48 48 wp_die( 49 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .49 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 50 50 '<p>' . __( 'Sorry, you are not allowed to manage these options.' ) . '</p>', 51 51 403 … … 75 75 if ( is_multisite() && ! current_user_can( 'manage_network_options' ) && 'update' != $action ) { 76 76 wp_die( 77 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .77 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 78 78 '<p>' . __( 'Sorry, you are not allowed to delete these items.' ) . '</p>', 79 79 403
Note: See TracChangeset
for help on using the changeset viewer.