Skip to content

Commit

Permalink
Merge pull request #520 from humanmade/20240705-fix-elastic-press-war…
Browse files Browse the repository at this point in the history
…ning

Fix ElasticPress warning
  • Loading branch information
mikelittle authored Jul 15, 2024
2 parents ad975e1 + 511e96c commit e231ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ function get_elasticsearch_url() : string {
*/
function setup_elasticpress_on_install() {
WP_CLI::line( 'Setting up ElasticPress...' );
$response = WP_CLI::runcommand( 'elasticpress index --setup --network-wide --yes', [
$response = WP_CLI::runcommand( 'elasticpress sync --setup --network-wide --yes', [
'return' => true,
] );
WP_CLI::line( $response );
Expand Down

0 comments on commit e231ca0

Please sign in to comment.