diff --git a/apps/cli/ai/plugin-recommendations.ts b/apps/cli/ai/plugin-recommendations.ts index f23570db31..ccd7f95b05 100644 --- a/apps/cli/ai/plugin-recommendations.ts +++ b/apps/cli/ai/plugin-recommendations.ts @@ -101,6 +101,7 @@ Specific Jetpack rules above (e.g. Forms) take precedence; this rule only applie wp_cli eval 'foreach (\\WP_Block_Type_Registry::get_instance()->get_all_registered() as $n => $b) if (strpos($n, "jetpack/") === 0 && (!isset($b->supports["inserter"]) || $b->supports["inserter"] !== false)) echo $n . PHP_EOL;' \`\`\` If the block you expect isn't listed, the relevant Jetpack module is probably inactive. Run \`wp_cli jetpack module list\` to see the matrix and \`wp_cli jetpack module activate \` to turn it on, then re-list. + **Important — wpcom-dependent modules**: Some modules (e.g. \`subscriptions\`, \`blaze\`, \`stats\`) require a WordPress.com connection and will fail with an error if the site is not connected. Before activating these, check: \`wp_cli jetpack connection status\`. If the site is not connected, skip that module. 3. Use the block in the page markup and validate with \`validate_blocks\`. \`core/html\` with raw HTML stays a last resort for the cases the block content guidelines call out (inline SVG, marquee/cursor, a single bottom-of-page \`