Ticket #33561: option.php.patch
File option.php.patch, 557 bytes (added by , 9 years ago) |
---|
-
option.php
629 629 if ( !isset( $alloptions[$transient_option] ) ) { 630 630 $transient_timeout = '_transient_timeout_' . $transient; 631 631 $timeout = get_option( $transient_timeout ); 632 if ( false !== $timeout && $timeout< time() ) {632 if ( get_option( $transient_timeout ) < time() ) { 633 633 delete_option( $transient_option ); 634 634 delete_option( $transient_timeout ); 635 635 $value = false;