WordPress 7.0 is just around the corner, and the AI contributor team is finessing the final bits for the WordPress 7.0 AI Integration. I’ve been tracking these meetings closely, and honestly, we need to talk about how the core-ai team is handling credentials. It’s messy, but it’s a mess we can actually work with if we understand the architectural trade-offs being made right now.
Specifically, the team is targeting May 19 for the AI Plugin 1.0.0 release. This isn’t just another update; it’s the stable companion for early adopters of the 7.0 release. If you’ve been pasting API keys into ten different third-party plugins, this release is meant to kill that headache via a centralized hub at Settings > Connectors.
Security and the Connector Approval “Experiment”
One of the biggest friction points in the WordPress 7.0 AI Integration roadmap has been how to stop a random plugin from hijacking your stored OpenAI or Anthropic keys. The proposed solution shipping in V1 is a “Connector Approval” flow. Essentially, it blocks plugin access by default until an admin manually whitelists that plugin.
Now, let’s be real. Is this a bulletproof security layer? No. A malicious plugin can still dig into the database and pull credentials directly because WordPress doesn’t have a true per-plugin sandbox yet. However, it creates “practical friction.” It forces a privacy boundary where site owners can see exactly which features are consuming tokens and potentially sending sensitive site data into an LLM’s training history.
For more on the technical hurdles of this framework, check out this deep dive on the WordPress 7.0 AI framework and the connector approval catch.
Enterprise Logging: Custom Tables Over Post Meta
I’ve seen too many sites crawl to a halt because a dev decided to log high-velocity data—like API requests—into wp_postmeta or wp_options. Thankfully, the core team reached a consensus to use a custom database table for AI request logging. Furthermore, they are truncating context to prevent database bloat, which is a win for anyone running WordPress at scale.
If you’re building a custom provider, don’t fallback to the old way. Use the new standard. Here is the logic for why we move away from meta for AI logs:
<?php
/**
* Logic for custom logging table creation in WP 7.0
* Using dbDelta ensures we don't nuk the table on every update.
*/
function bbioon_create_ai_log_table() {
global $wpdb;
$table_name = $wpdb->prefix . 'ai_request_logs';
$charset_collate = $wpdb->get_charset_collate();
$sql = "CREATE TABLE $table_name (
id bigint(20) NOT NULL AUTO_INCREMENT,
request_time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
provider_id varchar(50) NOT NULL,
token_count int(11) DEFAULT 0,
is_cached tinyint(1) DEFAULT 0,
truncated_prompt text NOT NULL,
PRIMARY KEY (id),
KEY provider_id (provider_id)
) $charset_collate;";
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
dbDelta( $sql );
}
This approach keeps your wp_postmeta clean and makes cost analysis (like tracking cached vs. non-cached tokens for Anthropic) much faster to query. For a broader look at the infrastructure changes, read about how WordPress 7.0 AI infrastructure is killing custom glue code.
Versioning Philosophy: The WordPress Way
One final technical note: the team is moving away from strict Semantic Versioning (SemVer) for the AI components and following “WordPress-style” versioning. Therefore, features marked as “Experiments” carry zero guarantee of future compatibility. Specifically, if you’re building production-critical workflows on the Connector Approval PR, expect breaking changes as the platform matures in 7.1.
The WordPress 7.0 Field Guide is expected to drop alongside RC4. Review it immediately. If you spot technical errors in the Connectors API implementation, the window for adjustment is closing fast.
Look, if this WordPress 7.0 AI Integration stuff is eating up your dev hours, let me handle it. I’ve been wrestling with WordPress since the 4.x days.
Senior Dev Takeaway
Don’t wait for the final release to test your plugins against the new wp_ai_client_prompt(). The architecture is solid enough for development now. Consequently, if you haven’t yet explored the MCP Adapter or the new Abilities registration, you’re going to be behind on release day. Start testing on a staging environment today.