[wp-trac] [WordPress Trac] #30937: Add Customizer state persistence in changesets (formerly “transactions”)
WordPress Trac
noreply at wordpress.org
Fri Dec 2 00:07:01 UTC 2016
#30937: Add Customizer state persistence in changesets (formerly “transactions”)
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: feature request | westonruter
Priority: high | Status: closed
Component: Customize | Milestone: 4.7
Severity: normal | Version:
Keywords: has-patch needs-testing needs-unit- | Resolution: fixed
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"39410"]:
{{{
#!CommitTicketReference repository="" revision="39410"
Customize: Reject a changeset update when a non-future date is provided
and also ensure that a published changeset always gets set to the current
date/time.
* Also moves checks from `customize_save` Ajax handler to the underlying
`WP_Customize_Manager::save_changeset_post()` call which plugins may
invoke directly.
* Ensures that `customize_save_response` filter is always passed an array,
with error code available as `code`.
Props utkarshpatel, westonruter, sayedwp.
Merges [39409] into 4.7 branch.
See #30937.
Fixes #38943 for 4.7.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30937#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list