WordPress/wp-includes
Boone Gorges 4f4a45ca1c Tests: Introduce `reset_phpmailer_instance()` function.
This function provides a more convenient method for resetting the
PHPMailer instance than the previous technique of reaching into the global.

Props welcher.
Fixes #36658.
Built from https://develop.svn.wordpress.org/trunk@37358


git-svn-id: http://core.svn.wordpress.org/trunk@37324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-04 03:49:26 +00:00
..
ID3 Update getID3 to 1.9.9 2015-06-28 00:17:25 +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
certificates HTTP API: Certificate bundle: Attempt to move a certificate lower in the file to allow older OpenSSL versions to parse it & communicate with WordPress.org securely again. 2016-02-18 08:21:28 +00:00
css TinyMCE, inline link: Make styles for the autocomplete results available on front end. 2016-04-11 15:12:29 +00:00
customize Customizer, Site Icon preview: improve alt attributes and text accessibility. 2016-04-17 12:01:27 +00:00
fonts Dashicons: Fix incorrect ID in SVG version of font. 2016-03-18 20:43:26 +00:00
images Embeds: Load the default site icon from the `wp-includes` directory. 2016-02-23 16:55:27 +00:00
js Customize: Don't auto-close the customizer when a new theme is activated. 2016-05-01 19:54: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 from 1.1.6 to 1.2.1. 2016-03-08 17:15:27 +00:00
rest-api Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
theme-compat Docs: Standardize file headers for two embed templates introduced in [36693] for #34561. 2016-03-28 18:27:26 +00:00
widgets Customize: Require opt-in for selective refresh of widgets. 2016-03-21 21:59:29 +00:00
admin-bar.php Add grunt prerelease task 2016-03-10 05:37:27 +00:00
atomlib.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
author-template.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:51:26 +00:00
bookmark-template.php Sanitize the class passed to `wp_list_bookmarks()` and allow passing an array. 2015-06-22 20:55:28 +00:00
bookmark.php Docs: Add a missing notation for the `$bookmark_id` parameter in the DocBlock for `clean_bookmark_cache()`. 2015-12-18 23:01:28 +00:00
cache.php Docs: Fix typo in `wp_cache_switch_to_blog()` and `WP_Object_Cache::switch_to_blog()` description. 2016-04-16 12:37:30 +00:00
canonical.php Canonical: Use `get_the_terms()` to verify that a post belongs to the requested `%category%`. 2016-04-20 15:35:27 +00:00
capabilities.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
category-template.php Taxonomy: Correct the accetped types for the `taxonomy` element in the arguments passed to `wp_dropdown_categories()`. 2016-01-13 20:16:29 +00:00
category.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-IXR.php IXR: Use a strict comparison to ensure that a non-numerically-indexed array is not incorrectly matched as a numeric array. 2016-04-19 06:13:29 +00:00
class-feed.php Docs: Add missing `@param` and `@return` notations to the DocBlock for `WP_Feed_Cache_Transient::save()`. 2016-02-26 09:27:26 +00:00
class-http.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-json.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
class-oembed.php Docs: Properly mark `$args` parameters in two `WP_oEmbed` methods as optional. 2016-03-23 17:08:27 +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 Upgrade PHPMailer from 5.2.10 to 5.2.14. 2015-12-24 01:59:26 +00:00
class-pop3.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
class-simplepie.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
class-smtp.php Upgrade PHPMailer from 5.2.10 to 5.2.14. 2015-12-24 01:59:26 +00:00
class-snoopy.php Snoopy: use escapeshellarg instead of escapeshellcmd 2016-03-30 13:58:28 +00:00
class-walker-category-dropdown.php Docs: Improve inline documentation in property and method DocBlocks for `Walker_CategoryDropdown`. 2016-03-22 17:22:29 +00:00
class-walker-category.php Docs: Mark optional parameters in `Walker_Category` methods as such. 2016-03-22 17:30:26 +00:00
class-walker-comment.php Comments: pass `$comment` to `comment_text()` in `Walker_Comment::comment()` instead of using a function which can skip the cache. 2016-04-29 15:47:27 +00:00
class-walker-page-dropdown.php Docs: The page object type in use in `Walker_PageDropdown` is `WP_Post`. 2016-03-22 17:53:27 +00:00
class-walker-page.php Docs: Mark optional method parameters as such in `Walker_Page`. 2016-03-22 18:07:27 +00:00
class-wp-admin-bar.php Docs: Improve the DocBlock summary and add a missing initial `@since` version for `WP_Admin_Bar::add_node()`. 2016-03-03 15:58:27 +00:00
class-wp-ajax-response.php Docs: Document default `WP_Ajax_Response::add()` arguments as a hash notation. 2016-03-18 11:59:27 +00:00
class-wp-comment-query.php Docs: Add a missing hook doc for the `parse_comment_query` hook, added in [31793]. 2016-05-03 16:22:27 +00:00
class-wp-comment.php Comments: Correct description of `comment_author` property in WP_Comment class. 2016-01-17 15:00:27 +00:00
class-wp-customize-control.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-customize-manager.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-customize-nav-menus.php Customize: Require opt-in for selective refresh of widgets. 2016-03-21 21:59:29 +00:00
class-wp-customize-panel.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-customize-section.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-customize-setting.php Customize: Pass `WP_Customize_Setting` instance as second argument to `customize_value_{$id_base}` filter. 2016-05-02 22:42:26 +00:00
class-wp-customize-widgets.php Customize: Handle filtering `sidebars_widgets` when the underlying option is non-existent. 2016-05-02 23:42:28 +00:00
class-wp-editor.php Accessibility: improvements for the Editor wpLink modal form fields. 2016-04-05 22:24:27 +00:00
class-wp-embed.php Docs: Correct grammar when referring to "a URL" vs "an URL" in several places. 2016-03-12 12:39:27 +00:00
class-wp-error.php
class-wp-http-cookie.php Docs: object != class 2015-09-26 07:04:28 +00:00
class-wp-http-curl.php Docs: Correct grammar when referring to "a URL" vs "an URL" in several places. 2016-03-12 12:39:27 +00:00
class-wp-http-encoding.php Docs: Add a missing file header for wp-includes/class-wp-http-encoding.php, introduced in [33748]. 2015-09-03 03:28:21 +00:00
class-wp-http-ixr-client.php Docs: Update the hook doc summary for the `wp_http_ixr_client_headers` filter, introduced in [34164]. 2015-09-15 16:16:43 +00:00
class-wp-http-proxy.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:35:27 +00:00
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 Docs: Add missing parameter documentation for the `$args` parameter in the DocBlock for `WP_Http_Streams::test()`. 2015-12-14 23:54:26 +00:00
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: Resolve fatal error on resize with ImageMagick < 6.4.6 2016-04-13 06:18:28 +00:00
class-wp-image-editor.php Media: Reduce default image compression quality to '82'. 2016-02-22 22:19:26 +00:00
class-wp-meta-query.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-metadata-lazyloader.php Docs: Standardize file header summary for wp-includes/class-wp-metadata-lazyloader.php. 2016-03-09 16:59:27 +00:00
class-wp-network.php Docs: Fix type documentation for `WP_Network` properties. 2016-01-18 02:59:27 +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 Rewrite Rules: Allow rewrite rules to work in nested WordPress installations on IIS. 2016-03-10 20:01:28 +00:00
class-wp-role.php Docs: Clarify documentation for `WP_Role::has_cap()` to more clearing indicate that the method checks for capabilities against the role rather than the user. 2015-12-14 20:05:27 +00:00
class-wp-roles.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:35:27 +00:00
class-wp-site.php Docs: Make some minor improvements to inline docs for `WP_Site`, introduced in [36393]. 2016-02-07 02:13:26 +00:00
class-wp-tax-query.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
class-wp-term.php Docs: Various docblock corrections. 2016-01-10 01:26:25 +00:00
class-wp-theme.php Docs: Add backtick escaping for two inline code samples in docs. 2016-05-01 17:32:26 +00:00
class-wp-user-query.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:51:26 +00:00
class-wp-user.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:51:26 +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 Widgets: Provide PHP 5.2 fallback for `spl_object_hash()` if disabled in logic for registering and unregistering pre-instantiated widgets. 2016-04-30 22:36:28 +00:00
class-wp-widget.php Docs: Improve the class DocBlock for `WP_Widget` to clarify which methods "should" vs "must" be overridden by extending sub-classes. 2016-05-02 04:53:27 +00:00
class-wp-xmlrpc-server.php XMLRPC: Fix bug where draft posts couldn’t be published in the future, and would publish immediately. 2016-03-22 15:10:28 +00:00
class-wp.php Rewrite Rules: Add self-describing variables to rewrite matcher. 2016-05-03 19:36:28 +00:00
class.wp-dependencies.php Docs: Re-add a `@param` that went missing in [36993]. 2016-03-14 22:39:26 +00:00
class.wp-scripts.php Ensure consistent dependency order when using `wp_add_inline_script()` 2016-04-10 03:33:26 +00:00
class.wp-styles.php Dependencies: Improve group processing of script dependencies. 2016-03-06 19:50:27 +00:00
comment-template.php Comments: Realign parameter documentation in the DocBlocks for `comment_author_email_link()` and `get_comment_author_email_link()` following [37348]. 2016-05-02 20:04:28 +00:00
comment.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
compat.php Docs: Fix one line of the DocBlock for the `JsonSerializable` compat interface to use a tab instead of spaces. 2016-02-07 01:18:27 +00:00
cron.php Docs: Adjust formatting for an added-parameter changelog entry in the hook doc for the `cron_request` filter. 2016-01-14 17:30:28 +00:00
date.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
default-constants.php Revert [35804]. This change has unintended side effects, notably that media URLs in the admin area now unexpectedly use the `https` scheme. A more comprehensive approach will be taken in 4.5. 2015-12-22 13:02:29 +00:00
default-filters.php Smilies: Move `convert_smilies` to happen later in the `the_content` filter. 2016-04-22 07:08:27 +00:00
default-widgets.php Docs: Clarify the file header summary for wp-includes/default-widgets.php, the top-level file for bringing in the core widget classes. 2015-09-22 13:36:25 +00:00
deprecated.php Docs: Ignore `_wp_upload_dir_baseurl()` from parsing for the Code Reference. 2016-03-30 15:29:26 +00:00
embed-template.php Docs: Update the `@deprecated` tag comment for wp-includes/embed-template.php to reference the correct file path following [36693]. 2016-02-27 21:22:25 +00:00
embed.php Add grunt prerelease task 2016-03-10 05:37:27 +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-rss.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.php Feeds: Revert [36230] which removed the `rss-http` feed content type. Removing this means that any feeds which are using this feed content type are now being served as `application/octet-stream` instead of `text/xml`. 2016-04-21 18:57:28 +00:00
formatting.php Customize/Formatting: Move `sanitize_hex_color()`, `sanitize_hex_color_no_hash()`, and `maybe_hash_hex_color()` from `class-wp-customize-manager.php` into `formatting.php`. 2016-04-21 19:22:27 +00:00
functions.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
functions.wp-scripts.php I18N: Update translator comments after [37190]. 2016-04-13 04:30:29 +00:00
functions.wp-styles.php I18N: Update translator comments after [37190]. 2016-04-13 04:30:29 +00:00
general-template.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
http.php HTTP: Improve detection of valid IP addresses. 2016-03-30 15:38:26 +00:00
kses.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
l10n.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
link-template.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
load.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
locale.php Docs: Add a missing summary to the DocBlock for `WP_Locale::rtl_src_admin_notice()`. 2015-12-16 18:08:26 +00:00
media-template.php Customizer, Site Icon preview: improve alt attributes and text accessibility. 2016-04-17 12:01:27 +00:00
media.php Responsive Images: the `src` of the image has to be first in the `srcset`, because of a bug in iOS8. Update the unit tests to reflect the changes. 2016-03-18 19:45:26 +00:00
meta.php Docs: Improve the DocBlock summary for `wp_metadata_lazyloader()`, introduced in [36566]. 2016-03-10 17:50:27 +00:00
ms-blogs.php Multisite: Fire a `clean_site_cache` action when a site's cache is cleared 2016-04-14 04:19:27 +00:00
ms-default-constants.php I18N: Remove `<code>` tags from translatable string in `wp-admin/network/site-new.php`. 2016-02-29 03:17:26 +00:00
ms-default-filters.php Move new user notification emails to `add_action()` callbacks. 2015-09-16 22:19:24 +00:00
ms-deprecated.php Docs: Add some missing `@param` notations to various DocBlocks in wp-includes/ms-deprecated.php. 2016-02-26 09:16:26 +00:00
ms-files.php `if` is a statment, not a function. 2015-06-16 20:01:25 +00:00
ms-functions.php Docs: Update the return type for `get_active_blog_for_user()` 2016-03-09 07:50:26 +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 Multisite: Make `$current_site` and `$current_blog` explicitly global. 2016-04-17 05:12:26 +00:00
nav-menu-template.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
nav-menu.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
option.php Docs: Clarify return descriptions in the DocBlocks for `set_user_setting()` and `delete_user_setting()`. 2016-04-20 15:47:26 +00:00
pluggable-deprecated.php Users: Introduce `_wp_get_current_user()` for improved backward compatibility. 2016-02-23 22:26:28 +00:00
pluggable.php Users: Correct inline docs for cookie expiration. 2016-04-27 02:52:28 +00:00
plugin.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
post-formats.php `foreach` is a statement, not a function. 2015-08-25 20:28:22 +00:00
post-template.php Themes: Revert [36112] 2016-04-19 21:24:27 +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 Posts: Allow `get_page_uri()` to be called without a $page argument. 2016-05-02 18:29:29 +00:00
query.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
registration-functions.php
registration.php
rest-api.php Docs: Improve syntax in the DocBlock for `rest_get_server()`, introduced in [36529]. 2016-03-10 18:49:26 +00:00
revision.php Revisions: Clean up `_wp_post_revision_fields()`: 2016-02-24 00:44:59 +00:00
rewrite.php Docs: Correct grammar when referring to "a URL" vs "an URL" in several places. 2016-03-12 12:39:27 +00:00
rss-functions.php
rss.php `foreach` is a statement, not a function. 2015-08-25 20:28:22 +00:00
script-loader.php Docs: Add backtick escaping for two inline code samples in docs. 2016-05-01 17:32:26 +00:00
session.php Docs: `@param` fixes for a variety of docblocks. 2016-01-09 01:45:26 +00:00
shortcodes.php Shortcodes: `=` is a reserved character in shortcode names, mark it as such. 2015-12-26 04:46:28 +00:00
taxonomy.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
template-loader.php Embeds: Add support for embeds in the theme template hierarchy. 2016-03-07 19:33:26 +00:00
template.php Docs: Correct a typo in the DocBlock summary for `get_embed_template()`, introduced in [36963]. 2016-03-10 22:45:26 +00:00
theme.php Post Thumbnails: Fix logic bug and tests from [37308] where post-thumbnails support wasn’t added if there were no previous post_types with support already. 2016-04-26 20:29:27 +00:00
update.php Docs: Add a couple of spaces before hook docs for filters introduced in 4.5. 2016-03-16 16:15:28 +00:00
user.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
vars.php Uploads: Remove an unnecessary static var from `wp_is_mobile()` to allow its direct and indirect use within unit tests. The static `$is_m 2016-03-03 03:25:26 +00:00
version.php Tests: Introduce `reset_phpmailer_instance()` function. 2016-05-04 03:49:26 +00:00
widgets.php Docs: Remove inline `@see` tags from function, class, and method references in inline docs. 2016-05-02 04:00:28 +00:00
wlwmanifest.xml
wp-db.php Database: Set MySQL connection collation. 2016-04-28 01:39:26 +00:00
wp-diff.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00