[wp-trac] [WordPress Trac] #45686: Refine Update PHP core notice
WordPress Trac
noreply at wordpress.org
Tue Jan 8 17:26:42 UTC 2019
#45686: Refine Update PHP core notice
----------------------------------------------+-----------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: servehappy has-patch ui-feedback | Focuses:
----------------------------------------------+-----------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44476" 44476]:
{{{
#!CommitTicketReference repository="" revision="44476"
General: Make Update PHP notice link customizable.
After [42832], [42891] and [43006], this changeset refines the core notice
informing about an outdated PHP version:
* The link to the Update PHP information page can now be adjusted using
either a `WP_UPDATE_PHP_URL` environment variable, or a new
`wp_update_php_url` filter.
* If that URL is different from the default one that points to
https://wordpress.org/support/update-php/ or its localized equivalent, a
note indicates that the linked resource has not been provided by WordPress
itself, and the default URL is still linked to as an additional resource.
* The URL for the default information page has been updated to use the
slug `update-php` instead of `upgrade-php`.
* `@since` annotations have been updated.
Going forward, admin areas that display information related to the PHP
version should use the new function `wp_get_update_php_url()`.
Props afragen, fierevere, flixos90, markjaquith, miss_jwo, nerrad, pento,
schlessera, SergeyBiryukov, spacedmonkey.
Fixes #45686. See #41191.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45686#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list