[wp-trac] [WordPress Trac] #48245: Add extra details to the error message for a plugin's minimum supported PHP version

WordPress Trac noreply at wordpress.org
Sat Jun 20 18:06:41 UTC 2020


#48245: Add extra details to the error message for a plugin's minimum supported PHP
version
-------------------------+-----------------------------
 Reporter:  johnbillion  |       Owner:  johnbillion
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  Future Release
Component:  Site Health  |     Version:  5.3
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by garrett-eclipse):

 Replying to [comment:5 johnbillion]:
 > 4. The support article at https://wordpress.org/support/update-php/
 includes useful information about updating PHP. We should link to this
 article at the end of this message about updating PHP. There's a useful
 article on updating WordPress too: https://wordpress.org/support/article
 /updating-wordpress/.
 @stuffradio please note WP provides `wp_get_update_php_url`, a filterable
 function for the PHP update URL.
 You can probably follow this [https://github.com/WordPress/wordpress-
 develop/blob/6e0015066006e31dce9d5a1a2512e26147df0395/src/wp-
 admin/upgrade.php#L78-L123 convention] that’s already in core.
 *I don't believe there's a similar function for updating-wordpress, only
 instance of that is in this [https://github.com/WordPress/wordpress-
 develop/blob/6e0015066006e31dce9d5a1a2512e26147df0395/src/wp-admin/update-
 core.php#L251 message] from core.

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


More information about the wp-trac mailing list