WordPress/wp-includes
Felix Arntz ed1df81bba General: Introduce dashboard widget to inform administrators about outdated PHP versions.
This new dashboard widget is shown on WordPress sites which are powered by a PHP version which WordPress considers outdated, in order to inform site owners about the resulting problems and to explain how to upgrade to a supported version. An education page for that purpose has been previously created that the widget links to. The link is translatable so that localized versions of the page can be referred to as they become available.

The nag follows the example of the Browse Happy dashboard widget and is only visible for administrators, or network administrators when using multisite. To determine whether it needs to be displayed, a new wordpress.org API introduced prior is called that handles the version logic in a centralized location.

Props flixos90, hedgefield, schlessera.
Fixes #41191.

Built from https://develop.svn.wordpress.org/trunk@42832


git-svn-id: http://core.svn.wordpress.org/trunk@42662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-12 16:43:31 +00:00
..
certificates
css Administration: Remove erroneous transition-delay values from CSS files. 2018-02-11 12:55:30 +00:00
customize I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
fonts
ID3
images
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 Media: Fix image cropping on touch screen devices. 2018-03-09 17:27:31 +00:00
pomo Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
random_compat External Libraries: Update Random_Compat from 1.2.1 to 2.0.11. 2017-11-08 11:48:49 +00:00
Requests
rest-api General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
widgets I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +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-02-13 16:54:31 +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-02-13 16:54:31 +00:00
bookmark-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
bookmark.php Code is Poetry. 2017-11-30 23:11:00 +00:00
cache.php Code is Poetry. 2017-11-30 23:11:00 +00:00
canonical.php Code is Poetry. 2017-11-30 23:11:00 +00:00
capabilities.php General: Introduce dashboard widget to inform administrators about outdated PHP versions. 2018-03-12 16:43:31 +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-02-13 16:54:31 +00:00
category.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-feed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-http.php Docs: Mark WP_Http::_dispatch_request() as deprecated. It's no longer used since [37428]. 2018-02-28 03:48:30 +00:00
class-IXR.php
class-json.php
class-oembed.php Docs: Remove @static notations from property DocBlocks in wp-admin/* and wp-includes/* classes. 2018-02-25 20:32:30 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-category.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu.php Accessibility: Themes: use aria-current for the Walker_Nav_Menu current link. 2018-03-08 21:31:30 +00:00
class-walker-page-dropdown.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-page.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-admin-bar.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ajax-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-comment-query.php Docs: Add missing @return entry for WP_Comment_Query::get_comment_ids(). 2017-12-07 13:47:52 +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 Docs: Remove copy/pasted default value description for $type in WP_Customize_Manager::add_setting(). 2018-03-08 13:06:33 +00:00
class-wp-customize-nav-menus.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +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 Docs: Correct erroneous class references in @see tags. 2018-02-01 01:20:30 +00:00
class-wp-dependency.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-editor.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-embed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-error.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +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 I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +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 Code is Poetry. 2017-11-30 23:11:00 +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 I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
class-wp-image-editor-gd.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +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 Docs: Add @since version for WP_Locale_Switcher::init(). 2017-12-15 00:32:46 +00:00
class-wp-locale.php I18N: Remove unused $start_of_week property from WP_Locale. 2018-02-18 16:32:34 +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 Allow LIKE queries against the 'key' value in meta queries. 2018-03-01 04:03:33 +00:00
class-wp-metadata-lazyloader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-network-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-network.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-oembed-controller.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-post-type.php
class-wp-post.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-query.php Allow LIKE queries against the 'key' value in meta queries. 2018-03-01 04:03:33 +00:00
class-wp-rewrite.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-role.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-roles.php Docs: Add missing code formatting to various @since entries. 2018-02-09 16:55:31 +00:00
class-wp-session-tokens.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +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 Code is Poetry. 2017-11-30 23:11:00 +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 Docs: Remove erroneous @static notation from WP_Tax_Query::get_sql(), added in [32627]. 2018-02-25 21:45:30 +00:00
class-wp-taxonomy.php Docs: Remove @access notation from WP_Taxonomy::$meta_box_sanitize_cb. 2018-02-25 20:38:30 +00:00
class-wp-term-query.php Code is Poetry. 2017-11-30 23:11:00 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-theme.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-user-meta-session-tokens.php Docs: Remove @static notations from method DocBlocks in wp-includes/* classes. 2018-02-25 20:22:30 +00:00
class-wp-user-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-user.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-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 Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-xmlrpc-server.php XML-RPC: Unify permission error messages in wp_xmlrpc_server. 2018-02-28 03:19:31 +00:00
class-wp.php WP: Don't attempt to convert multiple-nested arrays to a string in WP->parse_request(). 2017-12-22 03:18:47 +00:00
class.wp-dependencies.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class.wp-scripts.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class.wp-styles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
comment-template.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
comment.php Add a checkbox to the comment form so logged out users can opt-out of commenter cookies. 2018-03-04 16:41:33 +00:00
compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
cron.php Code is Poetry. 2017-11-30 23:11:00 +00:00
date.php Code is Poetry. 2017-11-30 23:11:00 +00:00
default-constants.php Docs: Fix a copy paste error in the DocBlock summary for wp_ssl_constants(), see [13062]. 2018-02-09 18:21:31 +00:00
default-filters.php Add a checkbox to the comment form so logged out users can opt-out of commenter cookies. 2018-03-04 16:41:33 +00:00
default-widgets.php Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
deprecated.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-02-13 16:54:31 +00:00
embed-template.php
embed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-atom-comments.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
feed-atom.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rdf.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rss.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rss2-comments.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
feed-rss2.php Code is Poetry. 2017-11-30 23:11:00 +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 I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
functions.php General: In wp_debug_backtrace_summary(), check if $call['args'] is defined to avoid a PHP notice. 2018-03-10 17:31:32 +00:00
functions.wp-scripts.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-02-13 16:54:31 +00:00
functions.wp-styles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
general-template.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
http.php Docs: Add missing code formatting to various @since entries. 2018-02-09 16:55:31 +00:00
kses.php Docs: Move inline comments in wp_kses_split2() before the blocks they apply to. 2018-02-14 11:46:33 +00:00
l10n.php Docs: Remove erroneous period in the description for esc_html__(). 2018-02-26 15:57:32 +00:00
link-template.php Link Template: Apply get_{$adjacent}_post_excluded_terms filter to an empty excluded_terms parameter as well. 2018-03-11 17:32:31 +00:00
load.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
locale.php
media-template.php Media: avoid page scrolling when opening the media modal. 2018-01-31 17:03:33 +00:00
media.php Media: In img_caption_shortcode(), make sure $id and $caption_id are always defined. 2018-02-12 22:36:33 +00:00
meta.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-blogs.php Docs: Add missing code formatting to various @since entries. 2018-02-09 16:55:31 +00:00
ms-default-constants.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-default-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Correct some @since MU notation that was broken in [41200]. 2017-10-03 17:44:48 +00:00
ms-files.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-functions.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
ms-load.php Networks and Sites: In get_site_by_path(), use single domain and path parameters if there's only one item to look for. 2018-02-11 17:09:31 +00:00
ms-settings.php Code is Poetry. 2017-11-30 23:11:00 +00:00
nav-menu-template.php Menus: When checking if a Custom Link matches the current URL to add the current-menu-item class, check for decoded URL as well. 2018-02-24 13:44:31 +00:00
nav-menu.php Menus: Remove $_menu_item_sort_prop global reference from wp_get_nav_menu_items(), unused since [38928]. 2018-02-01 15:42:31 +00:00
option.php Options: Unhook default option filter when setting is unregistered. 2018-02-06 14:49:32 +00:00
pluggable-deprecated.php
pluggable.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
plugin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-formats.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-template.php Docs: Add a reference to get_pages() arguments in wp_dropdown_pages() and wp_list_pages(), as they both use the function internally. 2018-02-19 22:24:31 +00:00
post-thumbnail-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-02-13 16:54:31 +00:00
post.php Docs: Remove trailing whitespace in wp-includes/post.php. 2018-03-02 10:02:33 +00:00
query.php Docs: Correct $id parameter type for old_slug_redirect_post_id filter. 2018-02-21 09:35:33 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Code is Poetry. 2017-11-30 23:11:00 +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 Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00
session.php Code is Poetry. 2017-11-30 23:11:00 +00:00
shortcodes.php Coding Standards: Fix code indent in unescape_invalid_shortcodes(). 2018-02-25 16:36:30 +00:00
spl-autoload-compat.php
taxonomy.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
template-loader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
template.php Docs: Add missing code formatting to various @since entries. 2018-02-09 16:55:31 +00:00
theme.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
update.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
user.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
vars.php Code is Poetry. 2017-11-30 23:11:00 +00:00
version.php General: Introduce dashboard widget to inform administrators about outdated PHP versions. 2018-03-12 16:43:31 +00:00
widgets.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-02-13 16:54:31 +00:00
wlwmanifest.xml
wp-db.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
wp-diff.php Code is Poetry. 2017-11-30 23:11:00 +00:00