Merge pull request #23601 from woocommerce/fix/23547
Fix to show WC plugin updates in System status report
This commit is contained in:
commit
0e80030f0b
|
@ -878,8 +878,8 @@ class WC_REST_System_Status_V2_Controller extends WC_REST_Controller {
|
|||
$version_latest = $data['Version'];
|
||||
|
||||
// Find latest version.
|
||||
if ( isset( $available_updates[ $plugin ]->update->new_version ) ) {
|
||||
$version_latest = $available_updates[ $plugin ]->update->new_version;
|
||||
if ( isset( $this->available_updates[ $plugin ]->update->new_version ) ) {
|
||||
$version_latest = $this->available_updates[ $plugin ]->update->new_version;
|
||||
}
|
||||
|
||||
return array(
|
||||
|
|
Loading…
Reference in New Issue