WordPress/wp-includes
desrosj ec417a34a7 General: Add a way to specify a direct link for a user to update PHP.
A direct URL to where a user can update PHP for their website can now be specified in one of two ways:

- Defining the `WP_DIRECT_UPDATE_PHP_URL` environment variable.
- Returning a URL to the `wp_direct_php_update_url` filter.

When a URL is specified, an additional “Update PHP” button will be displayed at the bottom of the Core dashboard widget informing administrators that their site is running an outdated version of PHP (see [42832]).

Fixes #46074.
Props afragen, desrosj, lukecarbis.
Built from https://develop.svn.wordpress.org/trunk@44814


git-svn-id: http://core.svn.wordpress.org/trunk@44646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-07 21:32:50 +00:00
..
blocks Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
certificates
css Block Editor: Update the WordPress Packages from Gutenberg 5.2. 2019-03-07 09:09:59 +00:00
customize Accessibility: Replace media placeholder clickable divs with buttons. 2019-03-05 17:49:52 +00:00
fonts
ID3
images
IXR
js Block Editor: Update the WordPress Packages from Gutenberg 5.2. 2019-03-07 09:09:59 +00:00
pomo Docs: Correct the docs for POMO_Reader::setEndian(). 2019-01-16 05:36:48 +00:00
random_compat
Requests
rest-api Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
SimplePie
Text
theme-compat
widgets Accessibility: Replace media placeholder clickable divs with buttons. 2019-03-05 17:49:52 +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
author-template.php Templates: Fix the return value of get_the_author_posts_link(). 2019-01-16 05:54:49 +00:00
blocks.php Blocks: Add a $source_block parameter to the render_block_data filter. 2019-01-14 01:47:51 +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
cache.php Docs: Fix the WP_Object_Cache::get() docblock. 2019-01-15 06:18:51 +00:00
canonical.php
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
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php Embeds: Remove Photobucket, FunnyOrDie from the list of oEmbed providers. 2019-01-10 22:42:51 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php Comments: Update the message shown when a comment is awaiting moderation. 2019-01-21 22:46:49 +00:00
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php Accessibility: Hide the Toolbar sub-menu CSS generated icons from assistive technologies. 2019-03-04 22:46:52 +00:00
class-wp-ajax-response.php
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
class-wp-block-type.php
class-wp-comment-query.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:06:48 +00:00
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-customize-widgets.php Coding standards: Fix incorrect CSS rgba() values. 2019-03-04 22:02:52 +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
class-wp-embed.php
class-wp-error.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
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
class-wp-http-curl.php
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php
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
class-wp-meta-query.php
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php
class-wp-oembed-controller.php
class-wp-post-type.php
class-wp-post.php
class-wp-query.php
class-wp-rewrite.php
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php
class-wp-term-query.php
class-wp-term.php
class-wp-text-diff-renderer-inline.php
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
class-wp-user-query.php
class-wp-user.php
class-wp-walker.php
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php Comments: Show the "awaiting moderation" message when comment cookies are disabled. 2019-01-21 01:34:51 +00:00
comment.php Comments: Show the "awaiting moderation" message when comment cookies are disabled. 2019-01-21 01:34:51 +00:00
compat.php
cron.php Docs: Correct documentation for the schedule_event filter. 2019-01-23 23:23:52 +00:00
date.php
default-constants.php
default-filters.php Customize: Remove wp_targeted_link_rel pre-save filter from change-sets. 2019-01-29 21:29:50 +00:00
default-widgets.php
deprecated.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
embed-template.php
embed.php
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-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-rss.php
feed.php
formatting.php Formatting: Loosen the type checking in _sanitize_text_fields(). 2019-02-07 23:35:49 +00:00
functions.php General: Add a way to specify a direct link for a user to update PHP. 2019-03-07 21:32:50 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
http.php
kses.php
l10n.php
link-template.php Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +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
media-template.php
media.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
meta.php
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
ms-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
ms-network.php
ms-settings.php
ms-site.php Multisite: Fix code formatting errors from r44805 2019-03-07 03:46:50 +00:00
nav-menu-template.php
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
pluggable.php Users: Add extra checking to wp_new_user_notification(). 2019-01-16 04:27:50 +00:00
plugin.php
post-formats.php
post-template.php
post-thumbnail-template.php
post.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
query.php
registration-functions.php
registration.php
rest-api.php REST API: Prevent translating the hook name in a _doing_it_wrong() message by using a placeholder. 2019-01-26 12:29:54 +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
rss-functions.php
rss.php
script-loader.php Block Editor: Fix unit tests after new blocks addition. 2019-03-07 11:54:51 +00:00
session.php
shortcodes.php
spl-autoload-compat.php
taxonomy.php Taxonomy: Remove @ignore annotation on _get_term_hierarchy(). 2019-02-19 20:24:50 +00:00
template-loader.php
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 Users: Revert [44780] pending test failure investigation. 2019-02-28 22:58:50 +00:00
vars.php
version.php General: Add a way to specify a direct link for a user to update PHP. 2019-03-07 21:32:50 +00:00
widgets.php Docs: Improve documentation of the `$wp_registered_sidebars global. 2019-01-14 23:01:49 +00:00
wlwmanifest.xml
wp-db.php Coding Standards: Ignore the violations of Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase. 2019-01-11 06:08:50 +00:00
wp-diff.php