PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 12.6.2
Jetpack – WP Security, Backup, Speed, & Growth v12.6.2
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / search.php

search.php in Jetpack – WP Security, Backup, Speed, & Growth 12.6.2, at modules/search.php

46 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 /**
3 * Module Name: Search
4 * Module Description: Help visitors quickly find answers with highly relevant instant search results and powerful filtering.
5 * First Introduced: 5.0
6 * Sort Order: 34
7 * Free: false
8 * Requires Connection: Yes
9 * Auto Activate: No
10 * Feature: Search
11 * Additional Search Queries: search, elastic, elastic search, elasticsearch, fast search, search results, search performance, google search
12 * Plans: business, complete
13 *
14 * @package automattic/jetpack
15 */
16
17 use Automattic\Jetpack\Search\Classic_Search;
18 use Automattic\Jetpack\Search\Helper as Search_Helper;
19
20 /**
21 * These are old legacy class names that were deprecated due to the move to packages.
22 *
23 * @todo Does this make more sense as a legacy dir in the search package?
24 */
25
26 /**
27 * Jetpack Search deprecated class.
28 *
29 * @deprecated 10.6
30 */
31 class Jetpack_Search {
32 /**
33 * Singleton
34 */
35 protected function __construct() {
36 }
37
38 /**
39 * Return the instance of the new class.
40 */
41 public static function instance() {
42 // Explicitly provide the blog ID, just in case.
43 return Classic_Search::instance( Search_Helper::get_wpcom_site_id() );
44 }
45 }
46