WordPress/wp-includes
Boone Gorges b6dbe1cea9 Don't use array_merge() when building comment children arrays.
`array_merge()` is much slower than building the combined array using a
`foreach` loop. The performance difference was causing a speed regression with
the `get_children()` functionality introduced in 4.4.

Props rogerhub.
Fixes #35025.
Built from https://develop.svn.wordpress.org/trunk@35931


git-svn-id: http://core.svn.wordpress.org/trunk@35895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 19:37:43 +00:00
..
certificates HTTP: Partially revert [34283] which removed the 1024bit certificates from our trust store. 2015-12-14 05:20:28 +00:00
css Authentication modal dialog: the spinner should disappear when loading is done. 2015-12-14 16:40:27 +00:00
customize I18N: Remove <strong> tags from translatable strings in WP_Customize_Manager::register_controls() and WP_Customize_Header_Image_Control::render_content(). 2015-12-14 12:54:27 +00:00
fonts
ID3
images Embeds: Revert [35083], as the PNG files ended up not being used in [35466]. 2015-10-31 04:42:25 +00:00
js Authentication modal dialog: the spinner should disappear when loading is done. 2015-12-14 16:40:27 +00:00
pomo Merge the changes to GlotPress's POMO from upstream to WordPress's copy. 2015-11-20 04:34:25 +00:00
random_compat Update random_compat to latest master (~1.1.5) 2015-12-14 07:46:28 +00:00
rest-api REST API: Improve formatting of failed validation errors. 2015-12-12 18:23:28 +00:00
SimplePie Feeds: add CEST to $timezone in SimplePie_Parse_Date. 2015-10-20 05:57:24 +00:00
Text Fix the @author doc param encoding in Text/Diff/Engine/string so the file is recognized as UTF-8, not ISO-8859-1. 2015-10-24 22:45:25 +00:00
theme-compat Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times. 2015-12-10 03:06:30 +00:00
widgets Widgets: Fix typo in WP_Widget_Tag_Cloud::form(). 2015-11-08 20:35:27 +00:00
admin-bar.php When editing terms, properly display an admin notice-warning when tag_ID is empty. 2015-12-11 22:49:41 +00:00
atomlib.php
author-template.php Remove <code> tag from translatable string in the_author(). 2015-11-05 23:38:27 +00:00
bookmark-template.php
bookmark.php After [35718], update the location of some files in This filter is documented in docs. 2015-11-22 03:51:28 +00:00
cache.php Filesystem: Following the introduction of the KB|MB|GB|TB_IN_BYTES constants in [35286], use them in various places in core. 2015-10-21 14:03:25 +00:00
canonical.php Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times. 2015-12-10 03:06:30 +00:00
capabilities.php When a post is scheduled for publication, treat it the same as a published post when calculating the capabilities required to edit or delete it. 2015-11-29 02:27:18 +00:00
category-template.php Improve handling for WP_Error objects in get_the_terms(). 2015-12-10 03:35:27 +00:00
category.php Simplify the include graph after work to split out classes. 2015-11-20 07:24:30 +00:00
class-feed.php
class-http.php Docs: Syntax fixes for deprecating WP_Http::parse_url(). 2015-10-23 15:43:24 +00:00
class-IXR.php XMLRPC: ensure that empty strings are not passed as null, which will then fail isset() 2015-11-04 18:08:25 +00:00
class-json.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
class-oembed.php Add support for oEmbeds from Speaker Deck. 2015-11-18 22:05:25 +00:00
class-phpass.php Remove closing PHP tag from wp-includes/class-phpass.php. 2015-10-06 23:45:25 +00:00
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Document the $id parameter for Walker_CategoryDropdown::start_el(), which is implemented by Walker but unused in the subclass method. 2015-12-14 17:47:30 +00:00
class-walker-category.php Taxonomy: in wp_list_categories(), add an arg: separator, to allow the overriding of <br/>. 2015-10-13 17:02:25 +00:00
class-walker-comment.php Docs: Document the $id parameter for Walker_Comment::start_el(), which is implemented by Walker but unused in the subclass method. 2015-12-14 17:50:26 +00:00
class-walker-page-dropdown.php Docs: Add a missing description for the $id parameter in the DocBlock for Walker_PageDropdown::start_el(), which is implemented by Walker but unused by the subclass method. 2015-12-14 17:54:27 +00:00
class-walker-page.php Docs: Add more complete property and method documentation for Walker_Page. 2015-12-14 18:06:31 +00:00
class-wp-admin-bar.php Toolbar: Allow adding lang and dir attributes to toolbar items. 2015-12-06 21:37:25 +00:00
class-wp-ajax-response.php
class-wp-comment-query.php Ensure that order is specified when querying for comment descendants. 2015-12-03 15:50:27 +00:00
class-wp-comment.php Prevent extra db queries in WP_Comment::get_children(). 2015-10-01 03:58:23 +00:00
class-wp-customize-control.php Customize: move WP_Customize_Control subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:57:25 +00:00
class-wp-customize-manager.php I18N: Remove <strong> tags from translatable strings in WP_Customize_Manager::register_controls() and WP_Customize_Header_Image_Control::render_content(). 2015-12-14 12:54:27 +00:00
class-wp-customize-nav-menus.php Customizer: Use correct context and translator comments for menu location strings. 2015-11-20 17:46:25 +00:00
class-wp-customize-panel.php Customize: move WP_Customize_Panel subclass to wp-includes/customize, it loads in the exact same place. 2015-10-24 18:25:24 +00:00
class-wp-customize-section.php Customize: move WP_Customize_Section subclasses to wp-includes/customize, they load in the exact same place. 2015-10-24 18:21:25 +00:00
class-wp-customize-setting.php Customize: Ensure that a setting (especially a multidimensional one) can still be previewed when the post value to preview is set after preview() is invoked. 2015-11-21 02:52:27 +00:00
class-wp-customize-widgets.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
class-wp-editor.php Docs: Improve documentation for format_for_editor() and the 'the_editor_content' filter it is hooked to. 2015-12-13 19:22:26 +00:00
class-wp-embed.php Embeds: Remove the allow_insecure_embeds filter. 2015-11-19 05:02:27 +00:00
class-wp-error.php
class-wp-http-cookie.php
class-wp-http-curl.php Docs: Add missing parameter and return descriptions to the DocBlock for WP_Http_Curl::stream_headers(). 2015-12-14 19:21:35 +00:00
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-response.php HTTP/REST API: move WP_HTTP_Response to wp-includes/ with the rest (ha!) of the HTTP classes. This is PHP 5.2, so this class is global, and as per @rmccue, unrelated to REST specifically. 2015-10-08 19:27:28 +00:00
class-wp-http-streams.php
class-wp-image-editor-gd.php Media: add a new image size, medium_large. Bumps db version to add new options. 2015-10-31 20:50:25 +00:00
class-wp-image-editor-imagick.php Media: add a new image size, medium_large. Bumps db version to add new options. 2015-10-31 20:50:25 +00:00
class-wp-image-editor.php
class-wp-meta-query.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-network.php Multisite: Clarify documentation for WP_Network::get_by_path(). 2015-11-08 02:25:25 +00:00
class-wp-oembed-controller.php oEmbed: Drop the trailing slash from the namespace. 2015-11-17 11:27:29 +00:00
class-wp-post.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-rewrite.php Docs: Add a couple of strategically-placed spaces in WP_Rewrite. 2015-10-08 22:07:24 +00:00
class-wp-role.php
class-wp-roles.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-tax-query.php Correct some @param doc names in the WP_Tax_Query and WP_User_Query classes. 2015-12-14 02:50:27 +00:00
class-wp-term.php Make get_term() behave more consistently in the context of shared terms. 2015-11-05 16:45:25 +00:00
class-wp-theme.php Upgrade: New themes are not automatically installed on upgrade. This can still be explicitly asked for by defining CORE_UPGRADE_SKIP_NEW_BUNDLED as false. 2015-11-25 21:45:25 +00:00
class-wp-user-query.php Correct some @param doc names in the WP_Tax_Query and WP_User_Query classes. 2015-12-14 02:50:27 +00:00
class-wp-user.php Docs: Move an inline comment that was preventing the hook docs for the user_has_cap filter from being parsed. 2015-11-10 06:45:25 +00:00
class-wp-walker.php Avoid a PHP notice when trying to access the post_parent property of hierarchical post type nav menu items. 2015-12-12 01:06:29 +00:00
class-wp-widget-factory.php
class-wp-widget.php Widgets: when getting settings, and none exist, set them to empty to avoid extraneous database queries on subsequent requests. 2015-10-13 01:13:24 +00:00
class-wp-xmlrpc-server.php Media: add a new image size, medium_large. Bumps db version to add new options. 2015-10-31 20:50:25 +00:00
class-wp.php Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times. 2015-12-10 03:06:30 +00:00
class.wp-dependencies.php
class.wp-scripts.php Scripts: in WP_Scripts::set_group(), the args prop of the _WP_Dependency instance defaults to null - check that it is set before comparing. 2015-10-06 13:54:25 +00:00
class.wp-styles.php
comment-template.php Don't use array_merge() when building comment children arrays. 2015-12-14 19:37:43 +00:00
comment.php I18N: Use better context for comment statuses. 2015-12-13 19:11:26 +00:00
compat.php Docs: clarify inline docs for hash_equals 2015-12-06 22:04:51 +00:00
cron.php
date.php Docs: Remove some more dittography. 2015-12-06 21:50:25 +00:00
default-constants.php Use site_url() when generating WP_CONTENT_URL so it correctly adjusts for pages served over HTTPS. This mainly only affects old plugins which still use WP_CONTENT_URL instead of the newer plugins_url() function. 2015-12-06 22:04:26 +00:00
default-filters.php Users: Allow to create users without sending an email to the new user. 2015-11-25 22:38:29 +00:00
default-widgets.php
deprecated.php Docs: Fix some minor DocBlock alignment issues. 2015-12-12 15:37:28 +00:00
embed-template.php Embeds: Introduce print_embed_comments_button(), print_embed_sharing_button(), and print_embed_sharing_dialog(), which respectively output the comments button, sharing buttons, and sharing dialog elements in the embed template. 2015-11-18 20:51:26 +00:00
embed.php WP oEmbed: validate the secret send via postMessage in wp.receiveEmbedMessage. Also, compare window instances. 2015-12-03 20:17:25 +00:00
feed-atom-comments.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-atom.php Feeds: <comments> is optional in RSS2, so don't include it when comments aren't present or open. Same for <wfw:commentRss> and <slash:comments> 2015-11-04 17:47:25 +00:00
feed-rdf.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-rss2-comments.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed-rss2.php Feeds: <comments> is optional in RSS2, so don't include it when comments aren't present or open. Same for <wfw:commentRss> and <slash:comments> 2015-11-04 17:47:25 +00:00
feed-rss.php Themes: Improve document title output. 2015-10-20 16:21:25 +00:00
feed.php Use correct placeholders for translator comments added in [35303]. 2015-10-24 18:50:24 +00:00
formatting.php Docs: Improve documentation for format_for_editor() and the 'the_editor_content' filter it is hooked to. 2015-12-13 19:22:26 +00:00
functions.php Authentication modal dialog: the spinner should disappear when loading is done. 2015-12-14 16:40:27 +00:00
functions.wp-scripts.php Docs: Remove some more dittography. 2015-12-06 21:50:25 +00:00
functions.wp-styles.php
general-template.php Login: After [34213], use the login_post scheme again for login forms. 2015-12-13 14:03:26 +00:00
http.php Simplify the include graph after work to split out classes. 2015-11-20 07:24:30 +00:00
kses.php KSES: have you ever heard of the <bdo> HTML tag? Same. http://www.w3schools.com/tags/tag_bdo.asp 2015-10-13 17:18:25 +00:00
l10n.php L10n: Use an absolute path for the is_dir() check when looking for installed translations. 2015-12-10 23:09:27 +00:00
link-template.php Correct a parameter name in the @param docs for get_home_url(). 2015-12-14 02:45:27 +00:00
load.php Docs: Correct wp_debug_mode() description to clarify that WP_DEBUG_DISPLAY is true by default. 2015-12-12 01:49:26 +00:00
locale.php I18N: In WP_Locale::init(), replace space as a thousands separator with a non-breaking space. 2015-12-12 02:06:35 +00:00
media-template.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
media.php Media: Don't generate responsive image attributes if src does not match ID in wp-image- class. 2015-12-07 20:08:51 +00:00
meta.php After [35718], update the location of some files in This filter is documented in docs. 2015-11-22 03:51:28 +00:00
ms-blogs.php Ensure that the scheme used in the URL returned by get_blogaddress_by_id() always reflects the blog's URL, instead of using http. 2015-10-30 02:02:24 +00:00
ms-default-constants.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
ms-default-filters.php
ms-deprecated.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
ms-files.php
ms-functions.php After [35718], update the location of some files in This filter is documented in docs. 2015-11-22 03:51:28 +00:00
ms-load.php I18N: Move translatable Codex URLs to separate strings in wp-includes/ms-load.php. 2015-11-18 17:42:26 +00:00
ms-settings.php MS: Populate public on empty $current_blog during subdomain activation. 2015-12-06 18:24:26 +00:00
nav-menu-template.php Nav Menus: show custom post type Archive item at the top of the View All tab for the post type on the legacy Nav Menu screen. 2015-10-24 17:46:25 +00:00
nav-menu.php Don't use <strong> in translatable string in wp-includes/nav-menu.php. 2015-10-30 08:57:26 +00:00
option.php Rename internal variable in set_transient(). 2015-10-29 11:52:28 +00:00
pluggable-deprecated.php
pluggable.php Add missing @param docs to wp_safe_redirect() and wp_sanitize_redirect(). 2015-12-14 02:43:25 +00:00
plugin.php Add missing variadic markers to the optional parameters of do_action() and apply_filters(). 2015-12-14 02:36:25 +00:00
post-formats.php
post-template.php Docs: Capitalize 'URL' correctly in the_guid() DocBlock. Fix a typo. 2015-12-14 05:21:26 +00:00
post-thumbnail-template.php Docs: Adjust documentation for the $size parameter in the_post_thumbnail_url() to clarify the required order of width and height values when passing an array. 2015-10-12 17:00:26 +00:00
post.php I18N: Use better context for post statuses. 2015-12-13 19:18:26 +00:00
query.php Correct the name of the @param doc for WP_Query::parse_tax_query(). 2015-12-14 02:08:26 +00:00
registration-functions.php
registration.php
rest-api.php Docs: Better param descriptions and fix incorrect param name within REST API deprecated functions 2015-12-09 21:26:29 +00:00
revision.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
rewrite.php Simplify the include graph after work to split out classes. 2015-11-20 07:24:30 +00:00
rss-functions.php
rss.php
script-loader.php Bump the version of MediaElement in script-loader.php to match what we're shipping with. 2015-11-20 03:32:26 +00:00
session.php
shortcodes.php Use correct placeholders in translator comments added in [35542]. 2015-11-05 21:05:25 +00:00
taxonomy.php Add a missing @param doc to wp_update_term_count(). 2015-12-14 02:04:26 +00:00
template-loader.php Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times. 2015-12-10 03:06:30 +00:00
template.php Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times. 2015-12-10 03:06:30 +00:00
theme.php Docs: Fix a typo in the stylesheet_directory filter docs. 2015-12-06 21:57:24 +00:00
update.php Updates: Avoid stomping global $wp_version in wp_version_check() and related. 2015-12-06 17:39:27 +00:00
user.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
vars.php
version.php Don't use array_merge() when building comment children arrays. 2015-12-14 19:37:43 +00:00
widgets.php Docs: Document the optional $options parameter for wp_register_widget_control() as a hash notation. 2015-12-11 15:24:28 +00:00
wlwmanifest.xml
wp-db.php Don't suppress error messages in database function calls. 2015-12-11 03:40:26 +00:00
wp-diff.php