WordPress/wp-includes
Aaron Jorbin 95513a0bca 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.

fixes #30336


Built from https://develop.svn.wordpress.org/trunk@30337


git-svn-id: http://core.svn.wordpress.org/trunk@30336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 22:04:23 +00:00
..
ID3 Update getID3 library to 1.9.8. 2014-09-11 19:07:17 +00:00
SimplePie
Text
certificates
css TinyMCE: enhance the inline toolbar for images: 2014-11-13 00:56:22 +00:00
fonts
images Update images based on grunt imagemin 2014-10-28 22:02:22 +00:00
js TinyMCE: enhance the inline toolbar for images: 2014-11-13 00:56:22 +00:00
pomo
theme-compat
admin-bar.php Don't display Edit links for posts and terms in toolbar if they are empty. 2014-09-07 08:32:19 +00:00
atomlib.php
author-template.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
bookmark-template.php
bookmark.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
cache.php
canonical.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
capabilities.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
category-template.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
category.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-IXR.php Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/deprecated.php` (pour one out). 2014-11-03 06:08:22 +00:00
class-feed.php
class-http.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-json.php
class-oembed.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php PHPMailer: Merge upstream commit (PR274). 2014-09-29 10:28:17 +00:00
class-snoopy.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-customize-control.php Customizer: Improve ability to filter active state for widget area Customizer sections. 2014-11-13 12:19:23 +00:00
class-wp-customize-manager.php Customizer: Improve ability to filter active state for widget area Customizer sections. 2014-11-13 12:19:23 +00:00
class-wp-customize-panel.php Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. 2014-11-03 21:35:23 +00:00
class-wp-customize-section.php Customizer: Improve ability to filter active state for widget area Customizer sections. 2014-11-13 12:19:23 +00:00
class-wp-customize-setting.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-wp-customize-widgets.php Customizer: Improve ability to filter active state for widget area Customizer sections. 2014-11-13 12:19:23 +00:00
class-wp-editor.php Fix typo in translatable string, see #30147. 2014-11-13 01:00:23 +00:00
class-wp-embed.php Fix the return docs for `WP_Embed->maybe_make_link()`. 2014-11-03 02:27:23 +00:00
class-wp-error.php New `remove()` method and some unit tests for the `WP_Error` class. 2014-10-08 07:12:18 +00:00
class-wp-http-ixr-client.php In `WP_HTTP_IXR_Client`: 2014-11-03 02:32:22 +00:00
class-wp-image-editor-gd.php `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick` should specify type in a doc block for the `$image` property, instead of inferring `bool` and `null`. 2014-11-03 02:38:23 +00:00
class-wp-image-editor-imagick.php `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick` should specify type in a doc block for the `$image` property, instead of inferring `bool` and `null`. 2014-11-03 02:38:23 +00:00
class-wp-image-editor.php Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-theme.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Almost every method in `wp_xmlrpc_server` can also return `IXR_Error` and should be labeled as such. Rehabilitate some `return` syntax. 2014-11-03 03:04:22 +00:00
class-wp.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class.wp-dependencies.php
class.wp-scripts.php Add `wp_json_encode()`, a wrapper for `json_encode()` that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
class.wp-styles.php wp_add_inline_style(): 2014-10-18 19:04:20 +00:00
comment-template.php Update the changelogs for the comment hook parameters added in [30092]. 2014-10-30 03:52:22 +00:00
comment.php Cross-reference `WP_Comment_Query::query()` as the location for finding information on default arguments for `WP_Comment_Query`. 2014-11-08 20:35:22 +00:00
compat.php Define `JSON_PRETTY_PRINT` so it can be used with `wp_json_encode()` 2014-10-28 21:13:22 +00:00
cron.php `wp_schedule_single_event()` should not prevent scheduling a future duplicate event. It should only reject an event as a duplicate if there is already a similar event scheduled within 10 minutes of the given timestamp. 2014-10-17 19:17:18 +00:00
date.php Correct grammar error in `WP_Date_Query` error message. 2014-11-11 14:56:24 +00:00
default-constants.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:58:19 +00:00
default-filters.php Improve some `post_status`-related documentation. 2014-11-01 20:20:23 +00:00
default-widgets.php Cross-reference `WP_Comment_Query::query()` as the location for finding information on default arguments for `WP_Comment_Query`. 2014-11-08 20:35:22 +00:00
deprecated.php Correct all `@return unknown` instances. 2014-11-03 06:17:22 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
formatting.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
functions.php Ignore case when checking string 'false' in `wp_validate_boolean()`. 2014-11-03 15:55:23 +00:00
functions.wp-scripts.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
functions.wp-styles.php Translate some previously untranslated _doing_it_wrong() messages. 2014-10-05 21:06:15 +00:00
general-template.php Cross reference `get_the_archive_title()` and `get_the_archive_description()` in the inline documentation for their corresponding template tags. 2014-11-04 06:52:23 +00:00
http.php Update the docs for `wp_remote_retrieve_response_code()`. See #28887. 2014-10-21 21:13:18 +00:00
kses.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
l10n.php Site Language: Install translations on the fly. 2014-11-13 17:01:24 +00:00
link-template.php In `get_adjacent_post()`, `$excluded_terms` should check term_id rather than term_taxonom_id. 2014-11-06 20:12:22 +00:00
load.php Send nocache_headers() on installation screens and when redirecting to them. 2014-08-25 17:40:16 +00:00
locale.php In `WP_Locale`, declare `$number_format` as a property. 2014-11-03 03:40:22 +00:00
media-template.php Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
media.php In `wp_audio|video_shortcode()`, make sure that `autoplay` and `loop` are booleans. Passing `'false'` to them will force them to be active, which is bad. 2014-11-03 05:03:21 +00:00
meta.php In `WP_Meta_Query->get_sql_for_clause()`, the empty initialization of `$where` is dead code and can be removed. 2014-11-01 22:03:22 +00:00
ms-blogs.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-default-constants.php
ms-default-filters.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-deprecated.php Delete admin_created_user_subject() rather than deprecate 2014-11-02 02:07:23 +00:00
ms-files.php
ms-functions.php Create new $wp_roles object in install_blog() to avoid protected _init() call 2014-11-05 05:12:22 +00:00
ms-load.php
ms-settings.php
nav-menu-template.php Cast class names to an array to avoid a potential warning. 2014-10-26 23:19:19 +00:00
nav-menu.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
option.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
pluggable-deprecated.php
pluggable.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
plugin.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
post-formats.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
post-template.php Check `$_current_page` before using it in `Walker_Page->start_el()`. 2014-11-01 20:29:22 +00:00
post-thumbnail-template.php
post.php Fix incorrect documentation in the DocBlocks for `get_lastpostmodified()` and `_get_last_post_time()`. 2014-11-08 21:08:45 +00:00
query.php Pass query object to 'the_post' filter. 2014-11-13 02:25:22 +00:00
registration-functions.php
registration.php
revision.php Fix the syntax for some status-related documentation introduced in [30155]. 2014-11-08 20:56:22 +00:00
rewrite.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
rss-functions.php
rss.php Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/deprecated.php` (pour one out). 2014-11-03 06:08:22 +00:00
script-loader.php Script-loader: remove 'heartbeat' dependency for post.js and inline-edit-post.js, fix dependencies for autosave.js. Fixes #30008 2014-10-22 03:41:18 +00:00
session.php Introduce a button on the user profile screen which clears all other sessions, and on the user editing screen which clears all sessions. Only appears when there are applicable sessions which can be cleared. 2014-11-13 15:21:21 +00:00
shortcodes.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
taxonomy.php Don't split shared terms on term update. 2014-11-13 20:05:24 +00:00
template-loader.php
template.php
theme.php Correct type in the doc block for `get_theme_support()`. 2014-11-03 05:18:22 +00:00
update.php Add `wp_json_encode()`, a wrapper for `json_encode()` that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
user.php Correct `@since` tag in `count_user_posts()` docs. 2014-11-13 12:15:23 +00:00
vars.php
version.php When asserting microtime output as a number, make it a number 2014-11-13 22:04:23 +00:00
widgets.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
wlwmanifest.xml
wp-db.php wpdb: When flushing results on a mysqli connection, make sure that `wpdb::$dbh` is a valid mysqli connection handle. 2014-11-11 02:17:28 +00:00
wp-diff.php Fill in the `@param` types for the args in `WP_Text_Diff_Renderer_Table->interleave_changed_lines()`. 2014-11-03 05:39:22 +00:00