From 0909a73eedcb5dc8c0bf1a76a5bfd36fac328448 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 4 Oct 2017 00:01:46 +0000 Subject: [PATCH] Customize: Let `establish_loaded_changeset` query changesets from any author not just current user when determining which changeset to autoload in non-branching mode. See #39896. Built from https://develop.svn.wordpress.org/trunk@41720 git-svn-id: http://core.svn.wordpress.org/trunk@41554 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 87368a93cd..eba2143a2c 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -612,6 +612,7 @@ final class WP_Customize_Manager { $unpublished_changeset_posts = $this->get_changeset_posts( array( 'post_status' => array_diff( get_post_stati(), array( 'auto-draft', 'publish', 'trash', 'inherit', 'private' ) ), 'exclude_restore_dismissed' => false, + 'author' => 'any', 'posts_per_page' => 1, 'order' => 'DESC', 'orderby' => 'date', diff --git a/wp-includes/version.php b/wp-includes/version.php index 8895cf2da6..743ca93791 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41719'; +$wp_version = '4.9-alpha-41720'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.