Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
fix: delete records when wp_delete_post() is triggerd on default init…
Browse files Browse the repository at this point in the history
… action priority algolia#822

Soloved issue with records not being deleted as described in algolia#822
  • Loading branch information
Sebastian Thulin committed Feb 28, 2019
1 parent 47b0549 commit 0821832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-algolia-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function __construct() {

$this->compatibility = new Algolia_Compatibility();

add_action( 'init', array( $this, 'load' ), 20 );
add_action( 'init', array( $this, 'load' ), 5 );
}


Expand Down

0 comments on commit 0821832

Please sign in to comment.