diff --git src/wp-includes/update.php src/wp-includes/update.php
index b19b27c..a1a95e8 100644
|
|
function wp_schedule_update_checks() { |
654 | 654 | * @since 4.1.0 |
655 | 655 | */ |
656 | 656 | function wp_clean_update_cache() { |
| 657 | // In case `wp_clean_plugins_cache()` does not exist, clear the transient directly. |
657 | 658 | if ( function_exists( 'wp_clean_plugins_cache' ) ) { |
658 | 659 | wp_clean_plugins_cache(); |
659 | 660 | } else { |
660 | 661 | delete_site_transient( 'update_plugins' ); |
661 | 662 | } |
662 | | wp_clean_plugins_cache(); |
663 | 663 | wp_clean_themes_cache(); |
664 | 664 | delete_site_transient( 'update_core' ); |
665 | 665 | } |