wordpress-develop/tests/phpunit/tests/ajax
Weston Ruter c4bffeb619 Customize: Defer populating post_name for auto-draft posts in customized state until posts are published.
The ultimate `post_name` is stored in postmeta until the post is published. The `get_page_by_path()` function does not exclude `auto-draft` posts. Revert changes to `wp_unique_post_slug()` from [39411] which excluded `auto-draft` posts.

Props westonruter, dlh for testing, helen for testing.
See #38114, #38928.
Fixes #39078.


git-svn-id: https://develop.svn.wordpress.org/trunk@39506 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-05 19:32:09 +00:00
..
Attachments.php Media: Remove an extra quote when sending a link of a media file to the editor. 2016-04-21 21:20:26 +00:00
Autosave.php Unit Tests: 2016-08-27 08:35:16 +00:00
Compression.php Adjust unit tests to account for change in [37144] 2016-03-30 19:52:14 +00:00
CustomizeManager.php 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:01:51 +00:00
CustomizeMenus.php Customize: Defer populating post_name for auto-draft posts in customized state until posts are published. 2016-12-05 19:32:09 +00:00
DeleteComment.php Unit Tests: 2016-08-27 08:35:16 +00:00
DeletePlugin.php Plugins: Move capability checks further up in wp_ajax_update_plugin() and wp_ajax_delete_plugin(). 2016-07-27 17:42:01 +00:00
DimComment.php Unit Tests: Remove an unused parameter from Tests_Ajax_DimComment::test_with_bad_id(). 2016-07-04 19:07:21 +00:00
EditComment.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
GetComments.php Unit Tests: 2016-08-27 08:35:16 +00:00
ManageThemes.php Themes: Account for uppercase chars when managing themes. 2016-10-03 18:12:57 +00:00
MediaEdit.php Build/Test Tools: Utilise assertFileExists() and assertFileNotExists() in more places. 2016-11-08 23:49:11 +00:00
QuickEdit.php Unit Tests: Change some @group annotations to @ticket. 2016-07-04 20:24:52 +00:00
ReplytoComment.php Unit Tests: 2016-08-27 08:35:16 +00:00
Response.php Tests: Remove the @runTestsInSeparateProcesses annotation for Ajax tests. 2015-10-15 21:30:52 +00:00
TagSearch.php Unit Tests: 2016-08-27 08:35:16 +00:00
UpdatePlugin.php Plugins: Move capability checks further up in wp_ajax_update_plugin() and wp_ajax_delete_plugin(). 2016-07-27 17:42:01 +00:00