Context
WordPress 7.0 (April 9, 2026) ships the Connectors API — a core framework for registering and managing connections to external services. Initial scope is AI providers (Anthropic, Google, OpenAI), but the architecture is explicitly designed to expand to social media, payment gateways, messaging services, etc.
Dev note: https://make.wordpress.org/core/2026/03/18/introducing-the-connectors-api-in-wordpress-7-0/
What this means for Data Machine
Data Machine currently owns its own auth/provider layer:
BaseAuthProvider, BaseOAuth1Provider, BaseOAuth2Provider
- Per-handler settings storage via
get_option()
- Custom settings UI in the DM admin
- Provider configuration (OpenAI, Anthropic, Google, Grok, OpenRouter)
Long term, core Connectors API replaces all of this. DM stops shipping auth infrastructure and instead consumes connectors registered by core or by dedicated connector plugins.
Migration path
Phase 1: WP 7.0 ships (April 2026)
- Connectors API available but scoped to
ai_provider type with api_key auth only
- DM can start reading AI provider keys from connectors (
wp_get_connector('anthropic')) as a fallback alongside existing DM settings
- No breaking changes — DM's existing auth continues to work
Phase 2: Core expands connector types
- OAuth support lands in Connectors API
social_media, messaging, etc. connector types get admin UI
- DM Socials migrates handler auth to core connectors
data-machine-events migrates any service auth to core connectors
Phase 3: DM auth layer deprecated
- Remove
BaseAuthProvider / BaseOAuth*Provider base classes
- Remove DM-specific settings UI for provider configuration
- DM becomes a pure consumer of
wp_get_connector() for all external service auth
- Massive reduction in DM surface area
Open questions
Architecture
Per-user / per-entity scoping
OAuth expansion timeline
DM Socials specifically
WP AI Client interaction
References
Context
WordPress 7.0 (April 9, 2026) ships the Connectors API — a core framework for registering and managing connections to external services. Initial scope is AI providers (Anthropic, Google, OpenAI), but the architecture is explicitly designed to expand to social media, payment gateways, messaging services, etc.
Dev note: https://make.wordpress.org/core/2026/03/18/introducing-the-connectors-api-in-wordpress-7-0/
What this means for Data Machine
Data Machine currently owns its own auth/provider layer:
BaseAuthProvider,BaseOAuth1Provider,BaseOAuth2Providerget_option()Long term, core Connectors API replaces all of this. DM stops shipping auth infrastructure and instead consumes connectors registered by core or by dedicated connector plugins.
Migration path
Phase 1: WP 7.0 ships (April 2026)
ai_providertype withapi_keyauth onlywp_get_connector('anthropic')) as a fallback alongside existing DM settingsPhase 2: Core expands connector types
social_media,messaging, etc. connector types get admin UIdata-machine-eventsmigrates any service auth to core connectorsPhase 3: DM auth layer deprecated
BaseAuthProvider/BaseOAuth*Providerbase classeswp_get_connector()for all external service authOpen questions
Architecture
wp_connectors_initfor services core doesn't ship (Grok, OpenRouter, etc.)? Or should those be separate connector plugins?Per-user / per-entity scoping
OAuth expansion timeline
DM Socials specifically
data-machine-socials-connectorsplugin or individual per-platform plugins?WP AI Client interaction
agent_modelsin settings). Does the WP AI Client support anything similar, or is it site-global?References