WordPress.org

Make WordPress Core

Changeset 10665


Ignore:
Timestamp:
02/27/09 19:21:41 (5 years ago)
Author:
ryan
Message:

Fix inverted login in get_transient().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10626 r10665  
    670670        if ( !isset( $alloptions[$transient_option] ) ) { 
    671671            $transient_timeout = '_transient_timeout_' . $wpdb->escape($transient); 
    672             if ( get_option($transient_timeout) > time() ) { 
     672            if ( get_option($transient_timeout) < time() ) { 
    673673                delete_option($transient_option); 
    674674                delete_option($transient_timeout); 
Note: See TracChangeset for help on using the changeset viewer.