WordPress.org

Make WordPress Core

Ticket #14526: object-cache-patch.patch

File object-cache-patch.patch, 448 bytes (added by ruslany, 5 years ago)

A possible way of fixing the plugin cache updates

  • wp-admin/includes/plugin.php

     
    674674        if ( $current = get_site_transient('update_plugins') ) { 
    675675                unset( $current->response[ $plugin_file ] ); 
    676676                set_site_transient('update_plugins', $current); 
     677                wp_cache_delete('plugins', 'plugins'); 
    677678        } 
    678679 
    679680        return true;