Ticket #7304: 7304.diff

File 7304.diff, 540 bytes (added by DD32, 4 years ago)
  • wp-includes/update.php

     
    120120                        $plugin_changed = true; 
    121121        } 
    122122 
     123        foreach ( (array) $current->response as $plugin_file => $update_details ) 
     124                if ( ! isset($plugins[ $plugin_file ]) ) 
     125                        $plugin_changed = true; 
     126 
    123127        // Bail if we've checked in the last 12 hours and if nothing has changed 
    124128        if ( $time_not_changed && !$plugin_changed ) 
    125129                return false;