WordPress.org

Plugin Directory

Changeset 703405


Ignore:
Timestamp:
04/25/13 11:11:28 (12 months ago)
Author:
donncha
Message:

Fix some warning during import, props David Lowry, https://twitter.com/djlowry/status/327369568286826496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-super-cache/trunk/wp-cache-phase2.php

    r699010 r703405  
    10271027 
    10281028    $post = get_post( $post_id ); 
     1029    if ( is_object( $post ) == false ) 
     1030        return $post_id; 
     1031 
    10291032    // Some users are inexplicibly seeing this error on scheduled posts.  
    10301033    // define this constant to disable the post status check. 
     
    10811084 
    10821085function wp_cache_post_change( $post_id ) { 
    1083     global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only; 
     1086    global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only, $wp_cache_object_cache; 
    10841087    static $last_processed = -1; 
    10851088 
Note: See TracChangeset for help on using the changeset viewer.