wordpress-develop/tests/phpunit/tests/xmlrpc/wp
John Blackbourn d92cc07d91 Correctly set the post author in wp_xmlrpc_server::mw_editPost() when the current user is not the author of the post.
Props redsweater, markoheijnen, DrewAPicture
Fixes #24916


git-svn-id: https://develop.svn.wordpress.org/trunk@31983 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 15:48:41 +00:00
..
deletePost.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
deleteTerm.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
editPost.php Correctly set the post author in wp_xmlrpc_server::mw_editPost() when the current user is not the author of the post. 2015-04-02 15:48:41 +00:00
editProfile.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
editTerm.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getComment.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getComments.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getMediaItem.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getOptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPage.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
getPageList.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPages.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPost.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPosts.php Fix a failing unit test: an XML-RPC unit test for getPosts with filters was failing. The cause of the failure: a set of posts was created with create_many() and then paginated results were requested. The paginated results were meant to equal the original resultset when diff'd after all pages were joined. create_many() was assigning the same timestamp to all posts, so the LIMIT clause in the generated SQL was not operating as expected. I replaced the create_many() call with a create() loop that increments time by 1 each time. Unit test now passes. 2013-11-11 17:45:36 +00:00
getPostType.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPostTypes.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getProfile.php * sort() returns a boolean, not a sorted set. Move the calls out of the assertions and fix the test methods. 2013-09-12 06:41:36 +00:00
getRevisions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getTaxonomies.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getTaxonomy.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getTerm.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getTerms.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getUser.php * sort() returns a boolean, not a sorted set. Move the calls out of the assertions and fix the test methods. 2013-09-12 06:41:36 +00:00
getUsers.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
newPost.php XMLRPC: Restore support in wp.newPost for dates to be supplied in the structured dateTime.iso8601 format as well as still supporting dates specified as strings. 2014-07-10 14:16:20 +00:00
newTerm.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
restoreRevision.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
setOptions.php Fix a multisite test failure by testing an option that can be updated in multisite. 2014-04-10 21:09:33 +00:00
uploadFile.php Remove failing test_network_limit() XML-RPC test. 2014-11-23 01:22:15 +00:00