From 6c6d112e746052fb6008dfab681ebd429c323d07 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 10 Nov 2017 22:51:46 +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. Built from https://develop.svn.wordpress.org/trunk@42150 git-svn-id: http://core.svn.wordpress.org/trunk@41981 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/customize.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/customize.php b/wp-admin/customize.php index 91c67d0016..7c36549e21 100644 --- a/wp-admin/customize.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index bbb5b9f154..b61d46a58b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42148'; +$wp_version = '5.0-alpha-42150'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.