diff --git a/projects/plugins/jetpack/_inc/client/ai/main.jsx b/projects/plugins/jetpack/_inc/client/ai/main.jsx index b74c0232d188..8ea22363e122 100644 --- a/projects/plugins/jetpack/_inc/client/ai/main.jsx +++ b/projects/plugins/jetpack/_inc/client/ai/main.jsx @@ -20,7 +20,7 @@ import McpWrite from './mcp/write'; const { blogId, activityLogUrl, apiRoot, apiNonce } = window?.jetpackAiSettings ?? {}; const VIEW_TITLES = { - hub: __( 'AI', 'jetpack' ), + hub: 'AI', // "AI" is a product name and should not be translated. read: __( 'Read', 'jetpack' ), write: __( 'Write', 'jetpack' ), setup: __( 'Connect external AI agent', 'jetpack' ), @@ -53,7 +53,8 @@ function Breadcrumbs( { view, onNavigate } ) { onClick={ onNavigate } > - { __( 'AI', 'jetpack' ) } + { /** "AI" is a product name and should not be translated. */ } + AI
  • diff --git a/projects/plugins/jetpack/_inc/client/ai/mcp/index.jsx b/projects/plugins/jetpack/_inc/client/ai/mcp/index.jsx index ca24fcf2c1dd..54d49d609737 100644 --- a/projects/plugins/jetpack/_inc/client/ai/mcp/index.jsx +++ b/projects/plugins/jetpack/_inc/client/ai/mcp/index.jsx @@ -1,5 +1,5 @@ /** - * MCP Settings hub — main view shown at wp-admin/admin.php?page=ai. + * MCP Settings hub — main view shown at wp-admin/admin.php?page=jetpack-ai. * Shows the enable/disable toggle and navigation to Read, Write, and Setup sub-views. */ diff --git a/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-ai-page.php b/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-ai-page.php index 12b285dd680f..8f4a28568c27 100644 --- a/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-ai-page.php +++ b/projects/plugins/jetpack/_inc/lib/admin-pages/class-jetpack-ai-page.php @@ -40,10 +40,11 @@ class Jetpack_AI_Page extends Jetpack_Admin_Page { */ public function get_page_hook() { return Admin_Menu::add_menu( - __( 'Jetpack AI', 'jetpack' ), - __( 'AI', 'jetpack' ), + // "Jetpack AI" is a product name and should not be translated. + 'Jetpack AI', + 'AI', 'manage_options', - 'ai', + 'jetpack-ai', array( $this, 'render' ), 4 ); diff --git a/projects/plugins/jetpack/changelog/fix-ai-page-slug b/projects/plugins/jetpack/changelog/fix-ai-page-slug new file mode 100644 index 000000000000..d5676a7f92f2 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-ai-page-slug @@ -0,0 +1,4 @@ +Significance: patch +Type: bugfix + +AI: Change admin page slug from 'ai' to 'jetpack-ai' to avoid conflicts with the WordPress core AI plugin.