We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08b4140 + 623f987 commit 903f7ecCopy full SHA for 903f7ec
adapters/jetpack-search.php
@@ -23,7 +23,7 @@ protected function query_es( $es_args ) {
23
$jetpack_search = null;
24
25
if ( class_exists( 'Automattic\Jetpack\Search\Classic_Search' ) ) {
26
- $jetpack_search = Automattic\Jetpack\Search\Classic_Search::initialize( get_current_blog_id() );
+ $jetpack_search = Automattic\Jetpack\Search\Classic_Search::initialize( \Automattic\Jetpack\Search\Helper::get_wpcom_site_id() );
27
} else if ( class_exists( 'Jetpack_Search' ) ) {
28
$jetpack_search = Jetpack_Search::instance();
29
0 commit comments