[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:13:51 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  |     Focuses:
----------------------------------+-----------------------
Changes (by flixos90):

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


Comment:

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

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

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


More information about the wp-trac mailing list