Go to file
Scott Taylor db1c44bc42 `wp_get_post_revisions()` should have a default `orderby` of `date ID` to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running `phpunit tests/phpunit/tests/post/revisions.php `. This fixes that.
Fixes #26042.



git-svn-id: https://develop.svn.wordpress.org/trunk@27184 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-17 21:22:25 +00:00
src `wp_get_post_revisions()` should have a default `orderby` of `date ID` to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running `phpunit tests/phpunit/tests/post/revisions.php `. This fixes that. 2014-02-17 21:22:25 +00:00
tests Reset `$wp_query` and `$post` during `WP_UnitTestCase::tearDown()` to avoid spillage of globals between tests. 2014-02-17 21:03:43 +00:00
tools/i18n
.gitignore Add more .gitignore entries for unit test files. 2013-12-03 18:48:58 +00:00
.jshintrc
.travis.yml
Gruntfile.js Add `grunt precommit` for running front-end dev and test tasks before commit. 2014-02-13 17:56:29 +00:00
package.json Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes. 2014-02-13 08:29:16 +00:00
phpunit.xml.dist
wp-config-sample.php
wp-tests-config-sample.php