Changeset 42811 for branches/4.9/src/wp-admin/themes.php
- Timestamp:
- 03/09/2018 12:14:20 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 42648,42719
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/themes.php
r41968 r42811 12 12 if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) ) { 13 13 wp_die( 14 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .14 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 15 15 '<p>' . __( 'Sorry, you are not allowed to edit theme options on this site.' ) . '</p>', 16 16 403 … … 25 25 if ( ! $theme->exists() || ! $theme->is_allowed() ) { 26 26 wp_die( 27 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .27 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 28 28 '<p>' . __( 'The requested theme does not exist.' ) . '</p>', 29 29 403 … … 40 40 if ( ! current_user_can( 'delete_themes' ) ) { 41 41 wp_die( 42 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .42 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 43 43 '<p>' . __( 'Sorry, you are not allowed to delete this item.' ) . '</p>', 44 44 403 … … 48 48 if ( ! $theme->exists() ) { 49 49 wp_die( 50 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .50 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 51 51 '<p>' . __( 'The requested theme does not exist.' ) . '</p>', 52 52 403
Note: See TracChangeset
for help on using the changeset viewer.