Changeset 53355 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 05/05/2022 04:27:30 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r53117 r53355 382 382 $plugin_updates = get_plugin_updates(); 383 383 384 $plugins_have_updates = false; 385 $plugins_active = 0; 386 $plugins_total = 0; 387 $plugins_need_update = 0; 384 $plugins_active = 0; 385 $plugins_total = 0; 386 $plugins_need_update = 0; 388 387 389 388 // Loop over the available plugins and check their versions and active state. … … 395 394 } 396 395 397 $plugin_version = $plugin['Version'];398 399 396 if ( array_key_exists( $plugin_path, $plugin_updates ) ) { 400 397 $plugins_need_update++; 401 $plugins_have_updates = true;402 398 } 403 399 }
Note: See TracChangeset
for help on using the changeset viewer.