Themes: Pass correct variable to is_php_version_compatible()
in wp_theme_update_row()
.
This applies to the Themes screen in Multisite network admin. Follow-up to [48660]. Props pbiron, afragen. Fixes #48507. See #48491. git-svn-id: https://develop.svn.wordpress.org/trunk@48689 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
20ac5dd62d
commit
e53aaaeead
@ -646,7 +646,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
$requires_php = isset( $response['requires_php'] ) ? $response['requires_php'] : null;
|
||||
|
||||
$compatible_wp = is_wp_version_compatible( $requires_wp );
|
||||
$compatible_php = is_php_version_compatible( $compatible_php );
|
||||
$compatible_php = is_php_version_compatible( $requires_php );
|
||||
|
||||
printf(
|
||||
'<tr class="plugin-update-tr%s" id="%s" data-slug="%s">' .
|
||||
|
Loading…
Reference in New Issue
Block a user