Plugin Directory

Changeset 423960


Ignore:
Timestamp:
08/15/2011 09:26:42 PM (15 years ago)
Author:
jaredh123
Message:

fix additional incorrectly set transient with too long expiration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prophoto-beta-tester/trunk/pp-beta-tester.php

    r423919 r423960  
    55    Description: Facilitates beta-testing for future releases of the ProPhoto theme
    66    Author: Jared Henderson
    7     Version: 0.11
     7    Version: 0.12
    88    Author URI: http://www.prophotoblogs.com/beta-testing-plugin/
    99 */
     
    3838            if ( $transientExpiration - time() > ( 60*60 * 12 ) ) {
    3939                delete_transient( 'pp_delay_next_auto_upgrade_attempt' );
     40            }
     41        }
     42        if ( $transientExpiration = get_option( '_transient_timeout_pp_recommended_svn' ) ) {
     43            if ( $transientExpiration - time() > ( 60*60 * 36 ) ) {
     44                delete_transient( 'pp_recommended_svn' );
    4045            }
    4146        }
Note: See TracChangeset for help on using the changeset viewer.