Plugin Directory

Changeset 2117645


Ignore:
Timestamp:
07/04/2019 03:14:53 PM (7 years ago)
Author:
riccardooliva
Message:

Bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-frontend-helper/trunk/wpfh.php

    r2073854 r2117645  
    5151    // Update media options if needed
    5252    $media_options         = $options->get( 'media' );
    53     $must_update_threshold = $media_options['auto_bust_threshold'] > 0 && ( $media_options['auto_bust_threshold'] < time() + $media_options['auto_bust_interval'] );
     53    $must_update_threshold = $media_options['auto_bust_threshold'] > 0 && ( $media_options['auto_bust_threshold'] + $media_options['auto_bust_interval'] < time() );
    5454    if ( $media_options['enable_version'] && ( empty( $media_options['tag'] ) || $must_update_threshold ) ) {
    5555        $media_options['tag']                 = uniqid();
Note: See TracChangeset for help on using the changeset viewer.