Wordpress/tests
Weston Ruter a3ed458867 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.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39410 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-02 00:06:59 +00:00
..
phpunit 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. 2016-12-02 00:06:59 +00:00
qunit TinyMCE: wptextpattern: Fix inline patterns. 2016-11-06 23:37:09 +00:00