Changeset 600873
- Timestamp:
- 09/19/2012 03:48:23 AM (13 years ago)
- File:
-
- 1 edited
-
cos-html-cache/trunk/cos-html-cache.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cos-html-cache/trunk/cos-html-cache.php
r135663 r600873 5 5 Description: 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. 6 6 cos-html-cache. Current version, cos-html-cache2.6, is a huge improvement over previous versions of cos-html-cache. 7 Version: 2.7. 37 Version: 2.7.4 8 8 Author: jiangdong 9 9 date:2007-07-19 … … 24 24 2009-03-15: remove cache for password protected posts & fixed some js problems 25 25 2009-03-24: remove comment user cache data 26 26 2012-09-19: cache remove bug fixed 27 27 28 28 */ … … 190 190 $uri1 = get_permalink($postRes[0]->ID); 191 191 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;"); 193 193 if( $postRes[0]->ID != '' ){ 194 194 $uri2 = get_permalink($postRes[0]->ID);
Note: See TracChangeset
for help on using the changeset viewer.