[wp-trac] [WordPress Trac] #39128: ERROR MESSAGE "non existing changeset UUID"
WordPress Trac
noreply at wordpress.org
Wed Dec 7 21:31:30 UTC 2016
#39128: ERROR MESSAGE "non existing changeset UUID"
-------------------------------+------------------------------
Reporter: RomainVB | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by westonruter):
This error message is printed out in the
`WP_Customize_Manager::setup_theme()` method:
{{{#!php
<?php
/*
* If unauthenticated then require a valid changeset UUID to load the
preview.
* In this way, the UUID serves as a secret key. If the messenger channel
is present,
* then send unauthenticated code to prompt re-auth.
*/
if ( ! current_user_can( 'customize' ) && ! $this->changeset_post_id() ) {
$this->wp_die( $this->messenger_channel ? 0 : -1, __( 'Non-
existent changeset UUID.' ) );
}
}}}
If you just authenticated, then the `current_user_can( 'customize' )`
check should return `true`, so I don't see why this condition would be
entered into.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39128#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list