From f42f19e1c5b853d3f94050bc10f80ab75052a047 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 10 Nov 2017 22:50:49 +0000 Subject: [PATCH] Customize: Improve accuracy of message displayed when accessing Customizer with a changeset that is already published or trashed. Amends [38810]. Props dlh. Fixes #42497. git-svn-id: https://develop.svn.wordpress.org/trunk@42150 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/customize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index 91c67d0016..7c36549e21 100644 --- a/src/wp-admin/customize.php +++ b/src/wp-admin/customize.php @@ -77,7 +77,7 @@ if ( $wp_customize->changeset_post_id() ) { if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) { wp_die( '

' . __( 'Cheatin’ uh?' ) . '

' . - '

' . __( 'This changeset has already been published and cannot be further modified.' ) . '

' . + '

' . __( 'This changeset cannot be further modified.' ) . '

' . '

' . __( 'Customize New Changes' ) . '

', 403 );