Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wpmlbridge-301] Unsync documents on non indexable stati. #50

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

decodekult
Copy link
Collaborator

  • Unsync documents with a status not supported by their indexes.

#49

return;
}

$indexablePostStati = $postIndexable->get_indexable_post_status();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$indexablePostStati = $postIndexable->get_indexable_post_status();
$indexablePostStatus = $postIndexable->get_indexable_post_status();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is also Stati in the commit so I don't know if it's a typo or intentional :)

everything else is great 👍

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand stati is the plural form of status (as opposed to statuses which doesn't really exist). I saw it here:

https://developer.wordpress.org/reference/functions/get_post_stati/

@jamalbou
Copy link

+1 @decodekult

Copy link

@jamalbou jamalbou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- Unsync documents with a status not supported by their indexes.

#49
@decodekult decodekult merged commit 97af428 into master Jul 10, 2024
2 checks passed
@decodekult decodekult deleted the wpmlbridge-301 branch July 10, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"php wp-cli.phar wpml_elasticpress" does not sync secondary language
4 participants