PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.5
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.5
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 13.7.2 13.8.3 All 506 releases
← All changes | _inc/lib/class-jetpack-ai-settings.php +2 -8 16.3-a.3 → 16.3-a.5 View file →
@@ -458,16 +458,10 @@
458 458 return (bool) get_option( $option, self::FEATURE_DEFAULTS[ $feature ] );
459 459 }
460 460
461 461 /**
462 - * Whether the AI SEO feature (metadata generation, manual and automatic)
463 - * is effectively enabled: its own toggle (gate 4) through the filter, with
464 - * the host and master gates ANDed after the chain so no late-priority
465 - * callback can turn the feature back on — same finality as is_ai_enabled().
462 + * Whether AI SEO is enabled after its feature filter and the site-wide AI checks.
466 463 *
467 - * Not {@see self::is_feature_enabled()} with `ai_seo`, which is the stored
468 - * toggle alone. This is the one load points and payloads should read.
469 - *
470 464 * @since 16.2
471 465 *
472 466 * @return bool
473 467 */
@@ -480,9 +474,9 @@
480 474 * @param bool $enabled Whether the SEO feature toggle is on.
481 475 */
482 476 $enabled = (bool) apply_filters( 'jetpack_ai_seo_enabled', self::is_feature_enabled( 'ai_seo' ) );
483 477
484 - return self::apply_master_gates( $enabled );
478 + return $enabled && self::is_ai_enabled();
485 479 }
486 480 }
487 481
488 482 // Self-initialize on load. The consuming AI extension files require this file