[wp-trac] [WordPress Trac] #65099: Fix: Only auto register settings if the plugin the connector references is installed and active
WordPress Trac
noreply at wordpress.org
Sun Apr 19 19:27:19 UTC 2026
#65099: Fix: Only auto register settings if the plugin the connector references is
installed and active
------------------------------+------------------------------
Reporter: jorgefilipecosta | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------------------
Comment (by iamadisingh):
Hi @jorgefilipecosta, updated PR https://github.com/WordPress/wordpress-
develop/pull/11565 to address this issue.
`_wp_register_default_connector_settings()` now checks whether the owning
plugin is active before registering the `api_key` setting for non-AI
connectors. Uses the `is_active` callback if provided, falling back to
`is_plugin_active()`. If neither confirms the plugin is active,
registration is skipped.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65099#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list