mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@41720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user