Go to file
John Blackbourn 9e7df076f4 When asserting microtime output as a number, make it a number
microtime is by default a string. Doing a greater then or less than check of that string is a bad idea since it uses the first part (the micro part of microtime) rather then the actual time. This adds a helper to convert microtime output into a float which we can then use to properly compare the output of microtime.

This fixes an intermittent test failure.

See #30336

Merges [30337] to the 4.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40566 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-01 23:42:16 +00:00
src Bump 4.0 branch to version 4.0.17. 2017-04-20 16:27:00 +00:00
tests When asserting microtime output as a number, make it a number 2017-05-01 23:42:16 +00:00
tools/i18n Fix strict notices in makepot. 2014-08-21 02:53:16 +00:00
.editorconfig Multiple strings in .editorconfig section names should be wrapped in curly brackets. 2014-06-24 10:54:41 +00:00
.gitignore Remove twenty* ignore-exclusion lines. Already tracked. 2014-02-26 20:59:25 +00:00
.jshintrc Remove smarttabs from .jshintrc per IRC discussion. see #25187. 2013-11-13 19:23:16 +00:00
.travis.yml Build/Test Tools: Add Composer files to the cache on Travis. 2017-04-24 00:48:25 +00:00
Gruntfile.js Gruntfile: Change import rules to include RTL stylesheets when running CSSJanus. 2014-07-21 02:50:45 +00:00
package.json Bump 4.0 branch to version 4.0.17. 2017-04-20 16:27:00 +00:00
phpunit.xml.dist
wp-cli.yml Introduce default wp-cli.yml for core development. 2014-04-30 21:35:18 +00:00
wp-config-sample.php Language packs: No WPLANG anymore. 2014-08-26 19:58:33 +00:00
wp-tests-config-sample.php