WordPress/wp-includes
audrasjb 6a2168a131 Grouped backports to the 5.1 branch.
- Media: Refactor search by filename within the admin,
- REST API: Lockdown post parameter of the terms endpoint,
- Customize: Escape blogname option in underscores templates,
- Query: Validate relation in `WP_Date_Query`,
- 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,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Mail: Reset PHPMailer properties between use,
- Widgets: Escape RSS error messages for display.

Merges [54521-54530] to the 5.1 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.1@54570


git-svn-id: http://core.svn.wordpress.org/branches/5.1@54124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 18:15:35 +00:00
..
blocks Block Editor: Upgrade @wordpress packages to match version 4.7.1. 2018-12-19 03:16:48 +00:00
certificates Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
css Grouped merges for 5.1.11. 2021-09-08 21:23:50 +00:00
customize Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
fonts Dashicons: Fix incorrect ID in SVG version of font. 2016-03-18 20:43:26 +00:00
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 Build: Update images following [43684]. 2018-12-19 03:36:27 +00:00
IXR XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings. 2018-02-06 02:56:32 +00:00
js External Librairies: Update jQuery.query to version 2.2.3. 2022-03-10 21:20:43 +00:00
pomo Docs: Correct the docs for POMO_Reader::setEndian(). 2019-01-16 05:36:48 +00:00
random_compat
Requests General: WordPress updates 2020-10-29 18:49:51 +00:00
rest-api Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
SimplePie Feeds: add CEST to $timezone in SimplePie_Parse_Date. 2015-10-20 05:57:24 +00:00
Text External Libraries: Remove usage of each() from the Text_Diff_Engine_native class. 2017-10-26 12:52:53 +00:00
theme-compat Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
widgets Widgets: Fix Gallery Widget preview after an image is deleted. 2019-01-21 04:13:51 +00:00
admin-bar.php Admin Bar: Set the Admin Bar to not be showing on REST API requests. 2019-01-16 02:54:50 +00:00
atomlib.php General: Remove most uses of create_function() 2016-12-13 01:49:39 +00:00
author-template.php Templates: Fix the return value of get_the_author_posts_link(). 2019-01-16 05:54:49 +00:00
blocks.php Ensure that a user can publish_posts before making a post sticky. 2019-12-12 18:37:53 +00:00
bookmark-template.php Docs: Remove duplicate docblocks for the pre_user_login and link_category filters. 2019-01-16 05:29:49 +00:00
bookmark.php Grouped backports to the 5.1 branch. 2022-08-30 15:41:44 +00:00
cache.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 16:08:48 +00:00
canonical.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
capabilities.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +00:00
category-template.php Coding Standards: Remove an unnecessary line whitelisting. 2019-01-12 04:53:51 +00:00
category.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-feed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-http.php Docs: Update since annotation for new $url parameter for several HTTP related filters. 2019-01-04 21:58:51 +00:00
class-IXR.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
class-json.php Docs: Fix typo in Services_JSON DocBlocks. 2018-06-28 02:20:54 +00:00
class-oembed.php Embeds: Remove Photobucket, FunnyOrDie from the list of oEmbed providers. 2019-01-10 22:42:51 +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:30:28 +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
class-simplepie.php Autoload: Introduce shim for SPL autoloading. 2016-06-06 03:24:29 +00:00
class-smtp.php Update PHPMailer to 5.2.22. 2017-01-11 01:23:41 +00:00
class-snoopy.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
class-walker-category-dropdown.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-category.php Taxonomy: Escape CSS classes in Walker_Category::start_el() after the category_css_class filter runs. 2019-01-07 12:54:48 +00:00
class-walker-comment.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-06 10:08:53 +00:00
class-walker-nav-menu.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
class-walker-page-dropdown.php Docs: Correctly specify the $page parameter of list_pages filter as a WP_Post. 2018-12-20 20:04:50 +00:00
class-walker-page.php Accessibility: Themes: use aria-current for the Walker_Page current link. 2019-01-07 13:36:50 +00:00
class-wp-admin-bar.php Accessibility: Improve the way Internet Explorer 11 and JAWS announce fieldset legends. 2019-01-17 11:55:51 +00:00
class-wp-ajax-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-block-parser.php Block Editor: Update WordPress Packages to solve PHP 5.2.2 parser incompatibility. 2019-02-07 09:02:49 +00:00
class-wp-block-type-registry.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-12-13 09:44:23 +00:00
class-wp-block-type.php REST API: Preserve unknown, respect null in server-side block rendering. 2018-12-17 18:00:52 +00:00
class-wp-comment-query.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-06 10:08:53 +00:00
class-wp-comment.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-customize-control.php Docs: Remove @static notations from property DocBlocks in wp-admin/* and wp-includes/* classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-manager.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 16:08:48 +00:00
class-wp-customize-nav-menus.php Customizer: Remove a line of commented-out code in WP_Customize_Nav_Menus::customize_register(). 2018-12-19 07:23:47 +00:00
class-wp-customize-panel.php Docs: Remove @static notations from property DocBlocks in wp-admin/* and wp-includes/* classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-section.php Docs: Remove @static notations from property DocBlocks in wp-admin/* and wp-includes/* classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-setting.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-customize-widgets.php Build Tools: Fix running installing Composer dependencies using Composer 2.0. 2020-11-06 16:40:53 +00:00
class-wp-dependency.php Docs: Add missing documentation for _WP_Dependency::set_translations(). 2019-01-15 22:48:51 +00:00
class-wp-editor.php Editor: Fix name of the new editor for inline comment. 2019-01-05 03:48:50 +00:00
class-wp-embed.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-error.php Docs: Update since annotations WP_Error::has_errors() 2019-01-09 22:42:51 +00:00
class-wp-feed-cache-transient.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-feed-cache.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-hook.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-http-cookie.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-curl.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-http-encoding.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-http-ixr-client.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-http-proxy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-requests-hooks.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-requests-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-response.php HTTP API: Use WP_HTTP_Response::set_data() in ::__construct() instead of directly accessing the $data property. 2017-10-03 15:18:46 +00:00
class-wp-http-streams.php Docs: Update since annotation for new $url parameter for several HTTP related filters. 2019-01-04 21:58:51 +00:00
class-wp-image-editor-gd.php Docs: Add missing periods to param annotations for flip() in WP_Image_Editor_GD. 2019-01-10 22:10:50 +00:00
class-wp-image-editor-imagick.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-image-editor.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-list-util.php General: Allow wp_list_pluck() to operate on arrays of references without overwriting the referenced items. 2018-01-18 05:18:31 +00:00
class-wp-locale-switcher.php REST API: Render response in user locale with ?_locale=user. 2018-12-14 01:32:39 +00:00
class-wp-locale.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
class-wp-matchesmapregex.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-meta-query.php Grouped backports to the 5.1 branch. 2022-01-06 18:14:44 +00:00
class-wp-metadata-lazyloader.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
class-wp-network-query.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
class-wp-network.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-oembed-controller.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-12-14 03:20:37 +00:00
class-wp-post-type.php
class-wp-post.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
class-wp-query.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
class-wp-rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-role.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-roles.php Docs: Document WP_Roles properties with typed array notation. 2018-03-22 18:56:33 +00:00
class-wp-session-tokens.php Docs: Correct and improve docblocks for user session management functionality. 2018-09-14 13:45:26 +00:00
class-wp-simplepie-file.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-simplepie-sanitize-kses.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-site-query.php Multisite: Update @since tags for site meta introduction. 2019-01-08 08:18:50 +00:00
class-wp-site.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-tax-query.php Grouped backports to the 5.1 branch. 2022-01-06 18:14:44 +00:00
class-wp-taxonomy.php Taxonomy: Update @since annotations for meta_box_sanitize_cb arg. 2019-01-09 15:11:48 +00:00
class-wp-term-query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-term.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-text-diff-renderer-inline.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-text-diff-renderer-table.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
class-wp-theme.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +00:00
class-wp-user-meta-session-tokens.php Docs: Add @see WP_Session_Tokens to the WP_User_Meta_Session_Tokens docblock. 2019-01-09 05:04:50 +00:00
class-wp-user-query.php Docs: Correct @since tag for users_pre_query filter added in [44373]. 2019-01-07 07:56:50 +00:00
class-wp-user.php Users: Add LIMIT 1 to SQL query in WP_User::get_data_by(), as only one row is requested. 2018-09-23 15:33:24 +00:00
class-wp-walker.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-widget-factory.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-widget.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-xmlrpc-server.php General: WordPress updates 2020-10-29 18:49:51 +00:00
class-wp.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-06 10:08:53 +00:00
class.wp-dependencies.php Docs: Document that the $src parameter of WP_Dependencies::add() can be boolean. 2018-09-28 21:51:24 +00:00
class.wp-scripts.php I18N/Script Loader: Support text domains other than "messages". 2019-01-06 16:23:49 +00:00
class.wp-styles.php Script/Style Dependencies: Simplify some logic in WP_Styles::do_item(). 2018-08-11 17:42:24 +00:00
comment-template.php Editor: Ensure latest comments can only be viewed from public posts. 2020-06-10 19:30:52 +00:00
comment.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +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:58:22 +00:00
cron.php Docs: Correct documentation for the schedule_event filter. 2019-01-23 23:23:52 +00:00
date.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
default-constants.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
default-filters.php General: Backport several commits for release. 2020-06-10 18:19:52 +00:00
default-widgets.php Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
deprecated.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +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.1 branch. 2021-02-05 03:55:07 +00:00
feed-atom-comments.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
feed-atom.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
feed-rdf.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rss.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rss2-comments.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
feed-rss2.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed.php Docs: Remove erroneous zero-width space before URL in fetch_feed() DocBlock. 2017-12-21 02:40:54 +00:00
formatting.php Grouped backports to the 5.1 branch. 2022-01-06 18:14:44 +00:00
functions.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
functions.wp-scripts.php I18N: Make domain argument optional in wp_set_script_translations() / WP_Scripts::set_translations(). 2019-01-04 21:12:50 +00:00
functions.wp-styles.php Docs: Fix typo in wp_add_inline_script() and wp_add_inline_style() description. 2018-12-20 02:42:48 +00:00
general-template.php Themes: Revert returning the value of locate_template() in functions that call it. 2019-02-06 18:37:51 +00:00
http.php Backporting several bug fixes. 2019-10-14 18:17:55 +00:00
kses.php Ensure that a user can publish_posts before making a post sticky. 2019-12-12 18:37:53 +00:00
l10n.php I18N: Add option to hide en_US locale in wp_dropdown_languages(). 2019-01-09 11:46:50 +00:00
link-template.php Link Template: In get_adjacent_post(), move the sanitisation of $excluded_terms earlier. 2019-01-15 01:54:49 +00:00
load.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +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.1 branch. 2022-10-17 18:15:35 +00:00
media.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
meta.php General: WordPress updates 2020-10-29 18:49:51 +00:00
ms-blogs.php Multisite: Do not prime site meta caches unless necessary. 2019-03-18 16:21:50 +00:00
ms-default-constants.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-default-filters.php Multisite: Move site-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2019-01-08 08:48:48 +00:00
ms-deprecated.php Multisite: Update @since tags for site management APIs. 2019-01-08 08:58:49 +00:00
ms-files.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-functions.php Multisite: Do not prime site meta caches unless necessary. 2019-03-18 16:21:50 +00:00
ms-load.php Multisite: Do not prime site meta caches unless necessary. 2019-03-18 16:21:50 +00:00
ms-network.php Multisite: Introduce ms-site.php and ms-network.php files. 2019-01-08 09:15:49 +00:00
ms-settings.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-site.php Multisite: Ensure site meta caches are not primed unless the wp_blogmeta table is available. 2019-03-18 16:20:52 +00:00
nav-menu-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
nav-menu.php Nav Menus: Fix a PHP 7.3 error when switching themes. 2018-12-14 05:16:52 +00:00
option.php Options: Avoid unnecessary DB calls when updating network options. 2019-01-21 04:27:51 +00:00
pluggable-deprecated.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
pluggable.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
plugin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-formats.php Post Formats: Don't assign a variable inside if statement in get_post_format(). 2018-08-30 09:01:25 +00:00
post-template.php Grouped backports to the 5.1 branch. 2022-08-30 15:41:44 +00:00
post-thumbnail-template.php Media: Introduce the has_post_thumbnail filter. 2019-01-10 15:28:50 +00:00
post.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
registration-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
registration.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rest-api.php Backporting several bug fixes. 2019-10-14 18:17:55 +00:00
revision.php Posts: Set a HTTP 403 error when an incorrect post preview nonce is sent. 2019-01-16 03:54:50 +00:00
rewrite.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rss-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rss.php
script-loader.php External Librairies: Update jQuery.query to version 2.2.3. 2022-03-10 21:20:43 +00:00
session.php Code is Poetry. 2017-11-30 23:11:00 +00:00
shortcodes.php Docs: Correct parameter name in strip_shortcodes_tagnames filter DocBlock. 2018-08-02 15:13:27 +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 Taxonomy: Update @since annotations for meta_box_sanitize_cb arg. 2019-01-09 15:11:48 +00:00
template-loader.php Bootstrap/Load: Introduce fatal error recovery mechanism allowing users to still log in to their admin dashboard. 2019-01-09 20:05:49 +00:00
template.php Coding Standards: Extract extract() from the codebase. 2019-01-12 03:20:48 +00:00
theme.php Docs: Correct the @return type of get_theme_mod(). 2019-01-16 05:32:48 +00:00
update.php Docs: Add documentation for the wp_maybe_auto_update action. 2019-01-16 03:38:49 +00:00
user.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 16:08:48 +00:00
vars.php Code is Poetry. 2017-11-30 23:11:00 +00:00
version.php WordPress 5.1.14. 2022-08-30 17:34:27 +00:00
widgets.php Grouped backports to the 5.1 branch. 2022-10-17 18:15:35 +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 Coding Standards: Ignore the violations of Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase. 2019-01-11 06:08:50 +00:00
wp-diff.php Code is Poetry. 2017-11-30 23:11:00 +00:00