From 40212b59ad75d8cb3fac1004d526b8417fd7752f Mon Sep 17 00:00:00 2001 From: Kevin Porras Date: Wed, 7 Jun 2023 15:08:22 -0600 Subject: [PATCH] Remove not necessary publish_post action. --- includes/class-solrpower-sync.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/class-solrpower-sync.php b/includes/class-solrpower-sync.php index 0fbcabcc..a87be895 100644 --- a/includes/class-solrpower-sync.php +++ b/includes/class-solrpower-sync.php @@ -41,7 +41,6 @@ public static function get_instance() { * Instantiate the object. */ function __construct() { - add_action( 'publish_post', array( $this, 'handle_modified' ) ); add_action( 'publish_page', array( $this, 'handle_modified' ) ); add_action( 'save_post', array( $this, 'handle_modified' ) ); add_action( 'delete_post', array( $this, 'handle_delete' ) );