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

WP-CLI: stats and status to output all indices info #2479

Merged
merged 2 commits into from
Nov 29, 2021

Conversation

felipeelia
Copy link
Member

Description of the Change

Currently, both commands won't output some indices info, as the list is hardcoded in each function. This PR changes the code so it takes advantage of the new Command::get_index_names() method introduced in 3.6.4, outputting info of indices of all registered Indexables.

Changelog Entry

Fixed: WP-CLI stats and status to output all indices related to ElasticPress. Props @felipeelia

@felipeelia felipeelia merged commit 495bc1b into develop Nov 29, 2021
@felipeelia felipeelia deleted the fix/stats-and-status-commands branch November 29, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants