Plugin Directory

Changeset 600873


Ignore:
Timestamp:
09/19/2012 03:48:23 AM (13 years ago)
Author:
storyday
Message:

tinny bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cos-html-cache/trunk/cos-html-cache.php

    r135663 r600873  
    55Description: cos-html-cache is an extremely efficient WordPress page caching plugin designed to make your WordPress site much faster and more responsive. Based on URL rewriting, the plugin will automatically generate real html files for posts when they are loaded for the first time, and automatically renew the html files if their associated posts are modified.
    66cos-html-cache. Current version, cos-html-cache2.6, is a huge improvement over previous versions of cos-html-cache.
    7 Version: 2.7.3
     7Version: 2.7.4
    88Author: jiangdong
    99date:2007-07-19
     
    24242009-03-15:  remove cache for password protected posts & fixed some js problems
    25252009-03-24:  remove comment user cache data
    26 
     262012-09-19:  cache remove bug fixed
    2727               
    2828*/
     
    190190        $uri1 = get_permalink($postRes[0]->ID);
    191191        DelCacheByUrl($uri1 );
    192         $postRes=$wpdb->get_results("SELECT `ID`  FROM `" . $wpdb->posts . "` WHERE post_status = 'publish'  AND   post_type='post'    AND ID > ".$post_ID."  ORDER BY ID DESC  LIMIT 0,1;");
     192        $postRes=$wpdb->get_results("SELECT `ID`  FROM `" . $wpdb->posts . "` WHERE post_status = 'publish'  AND   post_type='post'    AND ID > ".$post_ID."  ORDER BY ID ASC  LIMIT 0,1;");
    193193        if( $postRes[0]->ID != '' ){
    194194              $uri2  = get_permalink($postRes[0]->ID);
Note: See TracChangeset for help on using the changeset viewer.