wordpress-develop/tests/phpunit/tests/customize
Weston Ruter ce7a93c235 Customize: Allow post/page stubs to be edited in WP Admin as "customization drafts" when changeset is saved as draft or scheduled.
* Update stubs to have draft status when changeset is saved as draft, instead of preventing auto-draft garbage collection by giving them a far-future `post_date`.
* Show notice in publish metabox when editing a customization draft indicating that it will be published automatically with its changeset; a link to Customizer is included.
* Include a new "Customization Draft" display post state in the post list table.
* Disconnect stubs from their changesets when they are updated with a status other than "Draft".
* Trash customization drafts when their related changeset is trashed or deleted.
* Add a `_customize_changeset_uuid` postmeta to stubs to link them with their associated changeset.
* Include `customize_changeset_uuid` as context when requesting to insert a new auto-draft.

Props westonruter, melchoyce.
See #39896, #39752, #34923.
Fixes #42220.


git-svn-id: https://develop.svn.wordpress.org/trunk@41887 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-17 20:14:56 +00:00
..
control.php Customize: Allow page stubs to be created via dropdown-pages controls in the Static Front Page section. 2016-10-25 06:30:27 +00:00
custom-css-setting.php Editor: Add CodeMirror-powered code editor with syntax highlighting, linting, and auto-completion. 2017-09-13 06:07:48 +00:00
manager.php Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:00:15 +00:00
nav-menu-item-setting.php Customize: Provide validation feedback for invalid Custom Link URLs in nav menu items. 2017-10-03 03:43:01 +00:00
nav-menu-setting.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00
nav-menus.php Customize: Allow post/page stubs to be edited in WP Admin as "customization drafts" when changeset is saved as draft or scheduled. 2017-10-17 20:14:56 +00:00
panel.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
partial.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00
section.php Unit Tests: 2016-08-27 08:35:16 +00:00
selective-refresh-ajax.php Build/Test tools: Remove usage of DOING_AJAX from the test suite, so all tests that expect either an Ajax request or a 2017-08-22 15:07:42 +00:00
selective-refresh.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00
setting.php Build/Test Tools: Automatically skip tests in the ms-required and ms-excluded groups. 2017-05-01 20:34:10 +00:00
widgets.php Customize: Fix phpunit tests after [40704] due to logic inversion error. 2017-05-16 14:33:16 +00:00