Changeset 42811 for branches/4.9/src/wp-admin/customize.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/customize.php
r42535 r42811 15 15 if ( ! current_user_can( 'customize' ) ) { 16 16 wp_die( 17 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .17 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 18 18 '<p>' . __( 'Sorry, you are not allowed to customize this site.' ) . '</p>', 19 19 403 … … 32 32 if ( ! current_user_can( get_post_type_object( 'customize_changeset' )->cap->edit_post, $changeset_post->ID ) ) { 33 33 wp_die( 34 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .34 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 35 35 '<p>' . __( 'Sorry, you are not allowed to edit this changeset.' ) . '</p>', 36 36 403 … … 77 77 if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) { 78 78 wp_die( 79 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .79 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 80 80 '<p>' . __( 'This changeset cannot be further modified.' ) . '</p>' . 81 81 '<p><a href="' . esc_url( remove_query_arg( 'changeset_uuid' ) ) . '">' . __( 'Customize New Changes' ) . '</a></p>',
Note: See TracChangeset
for help on using the changeset viewer.