[wp-trac] [WordPress Trac] #64730: Connectors: Backport Connectors Screen

WordPress Trac noreply at wordpress.org
Thu Feb 26 01:50:54 UTC 2026


#64730: Connectors: Backport Connectors Screen
------------------------------+-----------------------
 Reporter:  jorgefilipecosta  |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  high              |  Milestone:  7.0
Component:  Administration    |    Version:  trunk
 Severity:  normal            |   Keywords:  has-patch
  Focuses:                    |
------------------------------+-----------------------
 Backport of [https://github.com/WordPress/gutenberg/pull/75833 Gutenberg
 PR #75833].
 Core PR: [https://github.com/WordPress/wordpress-develop/pull/11056
 #11056].

 The generated Connectors JS/runtime artifacts will be included during the
 core Gutenberg sync. This ticket tracks the backport of the PHP
 integration that wires the feature into wp-admin and REST settings.


 == What This Changes ==

 Registers a new submenu under Settings:
 {{{wp-admin/options-general.php?page=connectors-wp-admin}}}
 Menu label: {{{Connectors}}}
 Position: between General and Writing (position {{{1}}})
 Registers connector settings (REST-exposed):
 {{{connectors_openai_api_key}}}
 {{{connectors_anthropic_api_key}}}
 {{{connectors_gemini_api_key}}}
 Adds API key masking on option reads.
 Adds server-side key validation behavior for {{{/wp/v2/settings}}}
 responses:
 when connector fields are requested via {{{_fields}}}, invalid keys are
 returned as {{{invalid_key}}}.
 Passes stored connector keys to the AI client provider registry on
 {{{init}}}.
 Adds guard checks so behavior no-ops when AI client/runtime callback is
 unavailable.

 == Testing Instructions ==

 Visit wp-admin/options-general.php?page=connectors-wp-admin and verify the
 Connectors page appears under Settings.
 Verify Connectors appears between General and Writing in the Settings
 submenu.
 Install all AI provider plugins.
 Set API keys for every supported provider.
 Remove the key and set it again for every supported provider.
 When a incorrect API key is provided then it isn't possible to save it.
 API keys are properly masked on the frontend (including REST API
 response).
 Deactivate the AI provider plugin from the Plugins screen and activate the
 plugin again from the Connectors screen.
 Uninstall the AI provider plugin from the Plugins screen and install the
 plugin again from the Connectors screen.
 Revoke a key that was valid on the provider website and veify the screen
 does not says connected anymore.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64730>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list