[wp-trac] [WordPress Trac] #46074: Provide way for hosts to create a correctly labeled button or link to directly upgrade PHP

WordPress Trac noreply at wordpress.org
Thu Mar 7 21:36:28 UTC 2019


#46074: Provide way for hosts to create a correctly labeled button or link to
directly upgrade PHP
-------------------------------------------------+-------------------------
 Reporter:  mikeschroder                         |       Owner:  afragen
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.1.1
Component:  General                              |     Version:  5.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  servehappy has-patch has-            |     Focuses:
  screenshots commit                             |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44815" 44815]:
 {{{
 #!CommitTicketReference repository="" revision="44815"
 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]).

 Merges [44814] to the 5.1 branch.

 Fixes #46074.
 Props afragen, desrosj, lukecarbis.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46074#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list