Changeset 13911
- Timestamp:
- 04/01/2010 10:42:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13910 r13911 681 681 $result = wp_cache_delete( $transient, 'transient' ); 682 682 } else { 683 $option_timeout = '_transient_timeout_' . $transient; 683 684 $option = '_transient_' . $transient; 684 685 $result = delete_option( $option ); 686 if ( $result ) 687 delete_option( $option_timeout ); 685 688 } 686 689 … … 3582 3585 $result = wp_cache_delete( $transient, 'site-transient' ); 3583 3586 } else { 3587 $option_timeout = '_site_transient_timeout_' . $transient; 3584 3588 $option = '_site_transient_' . $transient; 3585 3589 $result = delete_site_option( $option ); 3590 if ( $result ) 3591 delete_site_option( $option_timeout ); 3586 3592 } 3587 3593 if ( $result )
Note: See TracChangeset
for help on using the changeset viewer.