Making WordPress.org

Changeset 6642


Ignore:
Timestamp:
02/15/2018 10:32:12 AM (6 years ago)
Author:
Otto42
Message:

Plugin Directory: revert 6639, this needs more revision to fix the issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-meta-sync.php

    r6639 r6642  
    6565        $current_review_time = $wpdb->get_var( 'SELECT MAX(`date`) FROM `ratings`' );
    6666
    67         // sync whenever ratings change, or at least daily, to prevent stale data from persisting forever
    68         if ( strtotime( $last_review_time ) >= strtotime( $current_review_time ) || strtotime( $last_review_time ) >= strtotime( '-1 day' ) ) {
     67        if ( strtotime( $last_review_time ) >= strtotime( $current_review_time ) ) {
    6968            return;
    7069        }
Note: See TracChangeset for help on using the changeset viewer.