Plugin Directory

Changeset 3367891


Ignore:
Timestamp:
09/25/2025 02:42:00 PM (6 months ago)
Author:
suresupport
Message:

purge on post update

Location:
server-side-cache-autopurge/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server-side-cache-autopurge/trunk/readme.txt

    r3280154 r3367891  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5050
    5151== Changelog ==
     52= 1.0.5 =
     53* Fix - Purge on post update
     54
     55= 1.0.4 =
     56* Fix - Handle wp errors
    5257
    5358= 1.0.3 =
  • server-side-cache-autopurge/trunk/surecache-autopurge.php

    r3244354 r3367891  
    66 * Author: Suresupport
    77 * Author URI: https://suresupport.com
    8  * Version: 1.0.4
     8 * Version: 1.0.5
    99 * Text Domain: surecache-autopurge
    1010 * Domain Path: /languages
     
    258258    public function addComment( $commentID ) {
    259259        $comment = get_comment( $commentID );
    260 
     260        if ( ! $comment || ! isset( $comment->comment_post_ID ) ) {
     261            return $this;
     262        }
    261263        return $this->addPost( $comment->comment_post_ID );
    262264    }
Note: See TracChangeset for help on using the changeset viewer.