Changeset 2566824
- Timestamp:
- 07/19/2021 01:50:45 AM (5 years ago)
- Location:
- cynderhost/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
cynderhost.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cynderhost/trunk/README.txt
r2566801 r2566824 32 32 33 33 == Changelog == 34 = 1.4.14 = 35 * Fixed: Purge comment URL on new auto-approved comment by guest 36 34 37 = 1.4.12 = 35 38 * Fixed: WP Admin "Purge Cache" link for non-admin users -
cynderhost/trunk/cynderhost.php
r2566801 r2566824 9 9 * Plugin URI: https://cynderhost.com 10 10 * Description: Provides an easy interface to clear the CynderHost CDN cache, both automatically and programmatically. 11 * Version: 1.4.1 211 * Version: 1.4.14 12 12 * Author: CynderHost 13 13 * Author URI: https://profiles.wordpress.org/cynderhost/ … … 24 24 25 25 //Define version 26 define('CYNDERHOST_VERSION', '1.4.1 2');26 define('CYNDERHOST_VERSION', '1.4.14'); 27 27 28 28 /** … … 218 218 { 219 219 $comment = get_comment($comment); 220 //check if comment is actually approved and live 221 if ( wp_get_comment_status( $comment ) != "approved" ){ 222 return null; 223 } 220 224 if ($comment->comment_parent > 0) 221 225 { … … 406 410 add_action('transition_comment_status', 'cynderhost_comment_update_function', 10, 3); 407 411 add_action('edit_comment', 'cynderhost_comment_edit_function', 10, 1); 412 add_action('comment_post', 'cynderhost_comment_edit_function', 10, 1); 408 413 409 414 //hook to media
Note: See TracChangeset
for help on using the changeset viewer.