WordPress/wp-includes
Sergey Biryukov 892fb39abc Grouped backports to the 5.0 branch.
- Posts, Post types: Apply KSES to post-by-email content,
- General: Validate host on "Are you sure?" screen,
- Posts, Post types: Remove emails from post-by-email logs,
- Media: Refactor search by filename within the admin,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Comments: Apply kses when editing comments,
- Customize: Escape blogname option in underscores templates,
- REST API: Lockdown post parameter of the terms endpoint,
- Mail: Reset PHPMailer properties between use,
- Query: Validate relation in `WP_Date_Query`,
- Widgets: Escape RSS error messages for display.

Merges [54521], [54522], [54523], [54524], [54525], [54526], [54527], [54528], [54529], [54530], [54541] to the 5.0 branch.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb, martinkrcho, vortfu, davidbaumwald, tykoted, timothyblynjacobs, johnjamesjacoby, ehtis, matveb, talldanwp.

Built from https://develop.svn.wordpress.org/branches/5.0@54571


git-svn-id: http://core.svn.wordpress.org/branches/5.0@54125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 18:16:15 +00:00
..
blocks Script Loader: Pass the suffix to package style handles to ensure correct file names for minified RTL stylesheets. 2018-12-17 03:10:25 +00:00
certificates
css Grouped merges for 5.0.14. 2021-09-08 23:31:41 +00:00
customize Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
fonts
ID3 Media: update the getID3 library to version 1.9.14 to avoid fatal errors in PHP7. 2017-07-31 19:50:45 +00:00
images
IXR
js External Librairies: Update jQuery.query to version 2.2.3. 2022-03-10 21:25:39 +00:00
pomo General: PHP 7.3 throws an E_WARNING when using continue to target a switch. 2018-10-18 03:42:27 +00:00
random_compat
Requests General: WordPress updates 2020-10-29 18:51:46 +00:00
rest-api Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
SimplePie
Text External Libraries: Remove usage of each() from the Text_Diff_Engine_native class. 2017-10-26 12:52:53 +00:00
theme-compat Embeds: Avoid "Division by zero" warning in embed-content.php template if a thumbnail has a zero height. 2017-10-18 15:09:48 +00:00
widgets Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize() API. 2018-01-30 14:56:41 +00:00
admin-bar.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
atomlib.php
author-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
blocks.php
bookmark-template.php
bookmark.php Grouped backports to the 5.0 branch. 2022-08-30 15:43:39 +00:00
cache.php
canonical.php Canonical: Strip trailing punctuation from permalinks. 2017-10-24 14:18:48 +00:00
capabilities.php Blocks: Add the reusable block post type, wp_block. 2018-10-23 06:53:38 +00:00
category-template.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
category.php I18N: Merge similar strings in _deprecated_argument() calls. 2017-01-29 11:50:41 +00:00
class-feed.php Load: Re-add class-feed.php. 2016-12-03 03:30:42 +00:00
class-http.php Docs: Correct type and description for the $data parameter in WP_Http::browser_redirect_compatibility(). 2017-10-18 16:38:48 +00:00
class-IXR.php
class-json.php The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
class-oembed.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-10-23 17:48:39 +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 External libraries: Improve attachment handling in PHPMailer 2021-05-12 22:31:06 +00:00
class-pop3.php Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
class-requests.php HTTP: Update Requests to master (0048f3c) which fixes a number of outstanding issues. 2016-10-05 03:24:37 +00:00
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-walker-category.php Taxonomy: Make sure wp_list_categories() correctly outputs term name of 0. 2018-10-11 04:42:49 +00:00
class-walker-comment.php
class-walker-nav-menu.php Menus: Remove an extra space in the <ul> tag in Walker_Nav_Menu::start_lvl(). 2017-10-20 10:40:46 +00:00
class-walker-page-dropdown.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-walker-page.php
class-wp-admin-bar.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-ajax-response.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-block-parser.php Grouped merges for 5.0.14. 2021-09-08 21:24:36 +00:00
class-wp-block-type-registry.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-10-18 01:31:26 +00:00
class-wp-block-type.php
class-wp-comment-query.php php7.3 compatibility: Fix compact throwing notices 2018-10-24 16:33:52 +00:00
class-wp-comment.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-control.php Customize: Deprecate nav menu classes that are no longer used, instead of removing them immediately. 2017-10-28 05:48:47 +00:00
class-wp-customize-manager.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 16:14:48 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
class-wp-customize-section.php Customize: Deprecate nav menu classes that are no longer used, instead of removing them immediately. 2017-10-28 05:48:47 +00:00
class-wp-customize-setting.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-customize-widgets.php
class-wp-dependency.php I18N: Improve JavaScript translation support. 2018-11-01 13:51:47 +00:00
class-wp-editor.php Editor: Use explicit context instead of a trailing space for Edit string in TinyMCE. 2019-01-05 04:14:44 +00:00
class-wp-embed.php
class-wp-error.php
class-wp-feed-cache-transient.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-feed-cache.php
class-wp-hook.php
class-wp-http-cookie.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-http-curl.php I18N: Replace function name in error message in WP_Http_Curl::request() and WP_Http_Streams::request() with a placeholder. 2017-10-18 15:04:51 +00:00
class-wp-http-encoding.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-http-ixr-client.php
class-wp-http-proxy.php Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:15:28 +00:00
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-http-response.php
class-wp-http-streams.php I18N: Replace function name in error message in WP_Http_Curl::request() and WP_Http_Streams::request() with a placeholder. 2017-10-18 15:04:51 +00:00
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php Media: Rename several attachment related parameters from $post_id to $attachment_id for clarity, and improve related 2017-08-22 11:12:44 +00:00
class-wp-image-editor.php
class-wp-list-util.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-locale-switcher.php REST API: Render response in user locale with ?_locale=user. 2018-10-21 15:03:40 +00:00
class-wp-locale.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-matchesmapregex.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-meta-query.php Grouped backports to the 5.0 branch. 2022-01-06 18:15:24 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php Multisite: Pass network object instead of ID to pre_get_main_site_id. 2017-10-30 19:56:47 +00:00
class-wp-oembed-controller.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-10-23 17:48:39 +00:00
class-wp-post-type.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-post.php
class-wp-query.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
class-wp-rewrite.php
class-wp-role.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-roles.php Multisite: Improve initializing available roles when switch sites. 2017-09-27 21:44:44 +00:00
class-wp-session-tokens.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-simplepie-file.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php
class-wp-site.php Multisite: Revert [41719]. 2017-10-16 22:29:48 +00:00
class-wp-tax-query.php Grouped backports to the 5.0 branch. 2022-01-06 18:15:24 +00:00
class-wp-taxonomy.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-term-query.php Correct param documentation for WP_Term_Query. 2018-10-10 04:16:47 +00:00
class-wp-term.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-text-diff-renderer-inline.php Diff: move WP_Text_Diff_Renderer_inline (behold that lowercase "i") and WP_Text_Diff_Renderer_Table into their own files via svn cp. 2016-08-25 17:37:30 +00:00
class-wp-text-diff-renderer-table.php
class-wp-theme.php Bundled Theme: Make twentynineteen the default theme. 2018-10-23 16:51:39 +00:00
class-wp-user-meta-session-tokens.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-user-query.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-user.php Multisite: Initialize a user's roles correctly when setting them up for a different site. 2017-09-27 21:10:45 +00:00
class-wp-walker.php
class-wp-widget-factory.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-widget.php
class-wp-xmlrpc-server.php General: WordPress updates 2020-10-29 18:51:46 +00:00
class-wp.php Backporting several bug fixes. 2019-10-14 18:26:51 +00:00
class.wp-dependencies.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class.wp-scripts.php
class.wp-styles.php
comment-template.php
comment.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
compat.php General: In the is_countable() polyfill, if the provided object implements SimpleXMLElement or ResourceBundle, consider it countable. 2018-05-10 17:59:25 +00:00
cron.php Docs: Use third-person singular verbs in the summaries for wp_unschedule_hook() and wp_clear_scheduled_hook(). 2017-06-30 04:54:41 +00:00
date.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
default-constants.php Bundled Theme: Make twentynineteen the default theme. 2018-10-23 16:51:39 +00:00
default-filters.php
default-widgets.php
deprecated.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
embed-template.php Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. 2016-07-06 12:40:29 +00:00
embed.php Build/Test Tools: Support NodeJS 14.x in the 5.0 branch. 2021-02-05 04:05:04 +00:00
feed-atom-comments.php Feeds: Do not translate the lastBuildDate field in RSS feeds. 2016-12-16 06:39:41 +00:00
feed-atom.php Feeds: Do not translate the lastBuildDate field in RSS feeds. 2016-12-16 06:39:41 +00:00
feed-rdf.php Feeds: Always return a valid timestamp for the Last-Modified header of comment or post feeds. 2016-10-25 20:48:29 +00:00
feed-rss2-comments.php Feeds: Do not translate the lastBuildDate field in RSS feeds. 2016-12-16 06:39:41 +00:00
feed-rss2.php Feeds: Replace the RSS2 lastBuildDate date field with the r date specifier. 2016-12-16 06:42:40 +00:00
feed-rss.php Feeds: Always return a valid timestamp for the Last-Modified header of comment or post feeds. 2016-10-25 20:48:29 +00:00
feed.php
formatting.php Grouped backports to the 5.0 branch. 2022-01-06 18:15:24 +00:00
functions.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
functions.wp-scripts.php
functions.wp-styles.php Script Loader: Correct default value for $src in wp_enqueue_script() and wp_enqueue_style(). 2016-09-04 04:09:28 +00:00
general-template.php
http.php
kses.php
l10n.php
link-template.php Privacy: Use the actual Privacy Policy page title in get_the_privacy_policy_link(). 2018-07-18 11:52:25 +00:00
load.php Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions. 2018-10-26 07:38:26 +00:00
locale.php Load: No-op locale.php 2016-12-03 04:16:38 +00:00
media-template.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
media.php
meta.php General: WordPress updates 2020-10-29 18:51:46 +00:00
ms-blogs.php Multisite: Document all return types in get_networks(). 2017-10-18 18:13:50 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Multisite: Validate activation links. 2018-12-13 01:30:45 +00:00
ms-files.php Multsite: Flush output buffer after readfile() in ms-files.php. 2016-09-27 20:05:28 +00:00
ms-functions.php Email: Don't send notifications for site or network admin email address change to the default 'admin_email' value. 2018-01-23 13:47:40 +00:00
ms-load.php Multisite: Use WP_Network_Query in ms_load_current_site_and_network(). 2017-10-03 19:26:49 +00:00
ms-settings.php
nav-menu-template.php Menus: Make sure current-menu-parent and current-menu-ancestor classes are properly set for parent items of post type archive submenu items. 2017-07-05 21:31:44 +00:00
nav-menu.php
option.php
pluggable-deprecated.php
pluggable.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
plugin.php Revert "Add wp.hooks - JavaScript actions and filters." 2017-10-04 20:25:49 +00:00
post-formats.php Docs: Improve the return description for get_post_format_slugs() to note that the array contains slugs as both keys and values. 2017-08-20 20:03:54 +00:00
post-template.php Grouped backports to the 5.0 branch. 2022-08-30 15:43:39 +00:00
post-thumbnail-template.php
post.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
query.php
registration-functions.php
registration.php Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. 2016-07-06 12:40:29 +00:00
rest-api.php
revision.php
rewrite.php Rewrite: In url_to_postid(), bail early if the URL does not belong to the site. 2017-10-06 23:29:51 +00:00
rss-functions.php
rss.php Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
script-loader.php External Librairies: Update jQuery.query to version 2.2.3. 2022-03-10 21:25:39 +00:00
session.php
shortcodes.php Docs: Fix a typo in the DocBlock description for add_shortcode() introduced in [41281]. 2017-08-20 20:38:42 +00:00
spl-autoload-compat.php General: Move the __autoload() compat function into its own file to prevent deprecated notices being thrown by the compiler in PHP 7.2. 2017-07-28 01:15:52 +00:00
taxonomy.php
template-loader.php
template.php Docs: Don't reference non-existent hooks inline in the DocBlock descriptions for the following template functions: 2017-06-29 16:05:41 +00:00
theme.php
update.php Updates: Partially revert [42584], as this branch of code should always be run after a core update check. 2018-02-06 12:47:42 +00:00
user.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 16:14:48 +00:00
vars.php General: Introduce a wp_is_mobile filter for controlling whether a request should be treated as coming from a mobile device. 2017-06-15 12:05:42 +00:00
version.php WordPress 5.0.17. 2022-08-30 17:35:07 +00:00
widgets.php Grouped backports to the 5.0 branch. 2022-10-17 18:16:15 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php WPDB: Check that $wpdb->last_result is countable before counting with it. 2018-11-22 03:59:44 +00:00
wp-diff.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00