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. Built from https://develop.svn.wordpress.org/trunk@48689 git-svn-id: http://core.svn.wordpress.org/trunk@48451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e6bfdde581
commit
72b87b3d74
|
@ -646,7 +646,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||||
$requires_php = isset( $response['requires_php'] ) ? $response['requires_php'] : null;
|
$requires_php = isset( $response['requires_php'] ) ? $response['requires_php'] : null;
|
||||||
|
|
||||||
$compatible_wp = is_wp_version_compatible( $requires_wp );
|
$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(
|
printf(
|
||||||
'<tr class="plugin-update-tr%s" id="%s" data-slug="%s">' .
|
'<tr class="plugin-update-tr%s" id="%s" data-slug="%s">' .
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48688';
|
$wp_version = '5.6-alpha-48689';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue