Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Records are not being deleted if delete action is made on standard init action priority #822

Open
sebastianthulin opened this issue Feb 28, 2019 · 1 comment

Comments

@sebastianthulin
Copy link

What did you expect to happen?

The record should have been deleted from algolia.

What happened instead?

No request to delete post from the index were made.

How can we reproduce this behavior?

Run wp_delete_post() on init action, with a priority lower than 20.

add_action('init', function() {
wp_delete_post(92, false);
});

Can you provide a link to a page which shows this issue?
No.

Technical info

  • WordPress version: 5.0.0 (All versions included)
  • Algolia Search plugin version: 2.11.3
sebastianthulin pushed a commit to helsingborg-stad/algoliasearch-wordpress that referenced this issue Feb 28, 2019
… action priority algolia#822

Soloved issue with records not being deleted as described in algolia#822
@sebastianthulin
Copy link
Author

Fix is in place for this issue at PR #823

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant