[wp-trac] [WordPress Trac] #41191: Create browse happy type notice for PHP versions
WordPress Trac
noreply at wordpress.org
Tue Jan 8 17:26:43 UTC 2019
#41191: Create browse happy type notice for PHP versions
-------------------------------------------------+-------------------------
Reporter: joostdevalk | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch ui-feedback needs-testing | Focuses:
servehappy | accessibility
-------------------------------------------------+-------------------------
Comment (by flixos90):
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/41191#comment:120>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list