Changeset 2008476
- Timestamp:
- 01/08/2019 03:06:55 PM (7 years ago)
- Location:
- cache-control
- Files:
-
- 4 edited
- 1 copied
-
tags/2.2.3 (copied) (copied from cache-control/trunk)
-
tags/2.2.3/cache-control.php (modified) (3 diffs)
-
tags/2.2.3/readme.txt (modified) (2 diffs)
-
trunk/cache-control.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cache-control/tags/2.2.3/cache-control.php
r1846417 r2008476 2 2 /* 3 3 Plugin Name: Cache-Control 4 Plugin URI: https://www.ctrl.blog/ ?s=%22Cache-Control%20plugin%20for%20WordPress%224 Plugin URI: https://www.ctrl.blog/search?s=%22Cache-Control%20plugin%20for%20WordPress%22 5 5 Description: Configurable HTTP Cache-Control headers for webpages generated by WordPress. 6 Version: 2.2. 26 Version: 2.2.3 7 7 Author: Geeky Software 8 Author URI: https://www. geeky.software/8 Author URI: https://www.ctrl.blog/topic/wordpress 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 258 258 $last_com = get_comments( 'post_id=' . get_the_ID() . '&number=1&include_unapproved=1&number=1&orderby=comment_date' ); 259 259 if ( $last_com != NULL ) { 260 $last_com = new DateTime( $last_com ->comment_date );260 $last_com = new DateTime( $last_com[0]->comment_date ); 261 261 $date_mod = max( array( $date_mod, $last_com ) ); 262 262 } … … 285 285 if ( !$noncacheable && 286 286 isset($wp_query) && 287 isset($wp_query->posts) && 287 isset($wp_query->posts) && 288 288 count($wp_query->posts) >= 1 && 289 289 !empty($wp_query->posts[0]->post_password) && -
cache-control/tags/2.2.3/readme.txt
r1846417 r2008476 3 3 Tags: caching, performance, cache-control, http 4 4 Requires at least: 4.4.1 5 Tested up to: 4.9.46 Stable tag: 2.2. 25 Tested up to: 5.0.2 6 Stable tag: 2.2.3 7 7 License: GPLv3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 77 77 == Changelog == 78 78 79 = 2.2. 2=79 = 2.2.3 = 80 80 81 81 * Resolved an issue when calculating the time since the last comment. -
cache-control/trunk/cache-control.php
r1846417 r2008476 2 2 /* 3 3 Plugin Name: Cache-Control 4 Plugin URI: https://www.ctrl.blog/ ?s=%22Cache-Control%20plugin%20for%20WordPress%224 Plugin URI: https://www.ctrl.blog/search?s=%22Cache-Control%20plugin%20for%20WordPress%22 5 5 Description: Configurable HTTP Cache-Control headers for webpages generated by WordPress. 6 Version: 2.2. 26 Version: 2.2.3 7 7 Author: Geeky Software 8 Author URI: https://www. geeky.software/8 Author URI: https://www.ctrl.blog/topic/wordpress 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 258 258 $last_com = get_comments( 'post_id=' . get_the_ID() . '&number=1&include_unapproved=1&number=1&orderby=comment_date' ); 259 259 if ( $last_com != NULL ) { 260 $last_com = new DateTime( $last_com ->comment_date );260 $last_com = new DateTime( $last_com[0]->comment_date ); 261 261 $date_mod = max( array( $date_mod, $last_com ) ); 262 262 } … … 285 285 if ( !$noncacheable && 286 286 isset($wp_query) && 287 isset($wp_query->posts) && 287 isset($wp_query->posts) && 288 288 count($wp_query->posts) >= 1 && 289 289 !empty($wp_query->posts[0]->post_password) && -
cache-control/trunk/readme.txt
r1846417 r2008476 3 3 Tags: caching, performance, cache-control, http 4 4 Requires at least: 4.4.1 5 Tested up to: 4.9.46 Stable tag: 2.2. 25 Tested up to: 5.0.2 6 Stable tag: 2.2.3 7 7 License: GPLv3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 77 77 == Changelog == 78 78 79 = 2.2. 2=79 = 2.2.3 = 80 80 81 81 * Resolved an issue when calculating the time since the last comment.
Note: See TracChangeset
for help on using the changeset viewer.