[wp-trac] [WordPress Trac] #46065: Add possibility to set a higher recommended php version for the "Update PHP notice"

WordPress Trac noreply at wordpress.org
Mon Mar 4 21:22:37 UTC 2019


#46065: Add possibility to set a higher recommended php version for the "Update PHP
notice"
----------------------------------------------+-----------------------
 Reporter:  j-falk                            |       Owner:  flixos90
     Type:  enhancement                       |      Status:  closed
 Priority:  normal                            |   Milestone:  5.1.1
Component:  General                           |     Version:  5.1
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  servehappy has-patch fixed-major  |     Focuses:
----------------------------------------------+-----------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"44789" 44789]:
 {{{
 #!CommitTicketReference repository="" revision="44789"
 General: Introduce `wp_is_php_version_acceptable` filter to make the check
 for triggering PHP version warnings stricter.

 The filter is only run if the wordpress.org API considers the PHP version
 acceptable. This ensures that other plugins or hosting providers can only
 make this check stricter, but not loosen it.

 Merges [44788] to the 5.1 branch.

 Props j-falk, mikeschroder.
 Fixes #46065.
 }}}

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


More information about the wp-trac mailing list