[wp-trac] [WordPress Trac] #30937: Add Customizer state persistence in changesets (formerly “transactions”)
WordPress Trac
noreply at wordpress.org
Tue Oct 18 06:52:40 UTC 2016
#30937: Add Customizer state persistence in changesets (formerly “transactions”)
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: feature request | westonruter
Priority: high | Status: assigned
Component: Customize | Milestone: 4.7
Severity: normal | Version:
Keywords: has-patch needs-testing needs-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by westonruter):
Nearing completion on unit tests, for PHP at least.
Latest changes: https://github.com/xwp/wordpress-
develop/pull/161/files/0753db3..001f3d3
* [https://github.com/xwp/wordpress-develop/pull/161/commits/8059ce6
8059ce6] Add round of tests and test stubs
* [https://github.com/xwp/wordpress-develop/pull/161/commits/bf84a1d
bf84a1d] Ensure wp_die() method is testable; send re-auth code if
messenger channel is present
* [https://github.com/xwp/wordpress-develop/pull/161/commits/63f34da
63f34da] Add tests for find_changeset_post_id and changeset_post_id
methods
* [https://github.com/xwp/wordpress-develop/pull/161/commits/b3ec194
b3ec194] Add tests for changeset_data and customize_preview_init
* [https://github.com/xwp/wordpress-develop/pull/161/commits/e51a5ee
e51a5ee] Add test for add_state_query_params
* [https://github.com/xwp/wordpress-develop/pull/161/commits/8068d46
8068d46] Add tests for is_cross_domain and get_allowed_urls
* [https://github.com/xwp/wordpress-develop/pull/161/commits/f12487d
f12487d] Fix IE9 failure to receive messages from preview due to host
mismatch
* [https://github.com/xwp/wordpress-develop/pull/161/commits/322358d
322358d] Fix PHP 5.2 compat by checking that json_last_error() exists
* [https://github.com/xwp/wordpress-develop/pull/161/commits/2b1b7a7
2b1b7a7] Add test for new args for validate_setting_values()
* [https://github.com/xwp/wordpress-develop/pull/161/commits/aab7580
aab7580] Test WP_Customize_Manager::unsanitized_post_values() with
unstashed theme mods and changeset data
* [https://github.com/xwp/wordpress-develop/pull/161/commits/fdfa20a
fdfa20a] Add tests for save_changeset_post and fix issues uncovered
* [https://github.com/xwp/wordpress-develop/pull/161/commits/ffcfe06
ffcfe06] Ensure changeset_uuid param is added as soon as a change is made
* [https://github.com/xwp/wordpress-develop/pull/161/commits/6bfa681
6bfa681] Fix passing back changeset_status in customize_save response
* [https://github.com/xwp/wordpress-develop/pull/161/commits/d2ccbd7
d2ccbd7] Use bool cast instead of boolval function for PHP compat
* [https://github.com/xwp/wordpress-develop/pull/161/commits/001f3d3
001f3d3] Fix obtaining the self URL for subdirectory installs
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30937#comment:77>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list