Changeset 423919
- Timestamp:
- 08/15/2011 07:30:43 PM (15 years ago)
- File:
-
- 1 edited
-
prophoto-beta-tester/trunk/pp-beta-tester.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
prophoto-beta-tester/trunk/pp-beta-tester.php
r389377 r423919 5 5 Description: Facilitates beta-testing for future releases of the ProPhoto theme 6 6 Author: Jared Henderson 7 Version: 0.1 07 Version: 0.11 8 8 Author URI: http://www.prophotoblogs.com/beta-testing-plugin/ 9 9 */ … … 29 29 add_action( 'post_pp_loaded', array( &$this, 'updateMenuTerms' ) ); 30 30 add_action( 'post_pp_loaded', array( &$this, 'fixSlideshowTerms' ) ); 31 32 self::fixBadTransient(); 33 } 34 35 36 function fixBadTransient() { 37 if ( $transientExpiration = get_option( '_transient_timeout_pp_delay_next_auto_upgrade_attempt' ) ) { 38 if ( $transientExpiration - time() > ( 60*60 * 12 ) ) { 39 delete_transient( 'pp_delay_next_auto_upgrade_attempt' ); 40 } 41 } 31 42 } 32 43
Note: See TracChangeset
for help on using the changeset viewer.