mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Site health:
- Add a check to `wp_check_php_version()` whether the current PHP version is lower than the next (desired) minimum version. - Set the next desired minimum PHP version to 7.2. - Use that check to update the warnings in the `wp_dashboard_php_nag()` widget, and on the Site Health screen. Props Clorith, SergeyBiryukov, ironprogrammer, azaozz. See #56199. git-svn-id: https://develop.svn.wordpress.org/trunk@54169 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1186,7 +1186,8 @@ a.rsswidget {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
|
||||
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
@@ -1198,14 +1199,15 @@ a.rsswidget {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#dashboard_php_nag .button .dashicons-external {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.bigger-bolder-text {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user