Skip to content

Commit

Permalink
fix: Added a case for non-multilanguage Update On Save
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmolinacano committed Dec 2, 2024
1 parent 0c09377 commit 0b3fb5e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ public static function build_search_engines( bool $process_all_languages, $langu
$hash = Settings::get_search_engine_hash( $first_part );
$search_engines[ $language->get_base_locale() ] = $hash;
}
} else {
$search_engines[''] = Settings::get_search_engine_hash();
}

return $search_engines;
Expand Down

0 comments on commit 0b3fb5e

Please sign in to comment.