PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.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 All 508 releases
← All changes | src/class-jetpack-modules-overrides.php +0 -6 16.3 → 16.3-a.1 View file →
@@ -4,10 +4,8 @@
4 4 *
5 5 * @package automattic/jetpack
6 6 */
7 7
8 -use Automattic\Jetpack\Feature_Policy;
9 -
10 8 /**
11 9 * Provides methods for dealing with module overrides.
12 10 *
13 11 * @since 5.9.0
@@ -38,12 +36,8 @@
38 36 *
39 37 * @return bool Whether there is a filter on the jetpack_active_modules option.
40 38 */
41 39 public function do_overrides_exist() {
42 - if ( method_exists( Feature_Policy::class, 'ensure_hooks' ) ) {
43 - Feature_Policy::ensure_hooks();
44 - }
45 -
46 40 return ( has_filter( 'option_jetpack_active_modules' ) || has_filter( 'jetpack_active_modules' ) );
47 41 }
48 42
49 43 /**