MCPforWP

What changed in WordPress

Every change an AI agent should know about, with what to do now and the source. This is what the wp_now tool returns.

Core

WordPress 7.2 Beta 2: more Abilities API work

Beta 2 continues work on the Abilities API (content querying, capability requirements, schema handling and permissions) and adds server-side registration for DataViews and DataForm. Final 7.2 release is scheduled for December 8, 2026.

Test plugins on the latest 7.2 pre-release (see current.nextWordpress), never on production.

Source, WP 7.2 Beta 2

Core

WordPress 7.2 adds a Secrets API

WordPress 7.2 Beta 1 introduces a Secrets API to store credentials such as API keys and tokens, with encryption at rest, credential rotation and custom storage providers (Trac #66187).

On 7.2+, plan to store plugin API keys through the Secrets API instead of plain options; the API may still change during beta.

Source, WP 7.2 Beta 1

Core

NO_BACKSLASH_ESCAPES SQL mode turned off in 7.2

wpdb::set_sql_mode() now removes NO_BACKSLASH_ESCAPES from the session SQL modes, like it already did for STRICT_ALL_TABLES, TRADITIONAL and ANSI. It only affects the WordPress connection, not the server's global settings.

If you truly need this mode, remove it from the incompatible_sql_modes filter in a db.php drop-in (plugins load too late).

Source, WP 7.2

Core

WordPress 7.1 "Mary Lou" released

7.1 adds Playlist and Tabs blocks, an API to register your own icons, a persistent admin bar across admin and editors, responsive styling for blocks, a new media editor, and Notes with rich text and @mentions.

Target WordPress 7.1 APIs (abilities filters, icon API, responsive styles) when writing code for current sites.

Source, WP 7.1

Core

notify_post_author filter now has the final say

wp_new_comment_notify_postauthor() checks approval before applying notify_post_author. The default is false for unapproved comments, it is always a strict boolean, and returning true now sends a notification even for held, spam or trashed comments.

If you force notifications with __return_true, check comment_approved first or authors will get emails for spam.

Source, WP 7.1

Core

jQuery UI updated to 1.14.2

WordPress 7.1 bundles jQuery UI 1.14.2 (was 1.13.3), drops IE support, and removes $.fn._form, $.ui.ie, $.ui.safeActiveElement and $.ui.safeBlur. jQuery.uiBackCompat is set to true.

Remove any use of the removed jQuery UI helpers and retest jQuery UI widgets on 7.1.

Source, WP 7.1

Core

SVG Icon API: wp_register_icon() and wp_get_icon()

WordPress 7.1 adds wp_register_icon_collection(), wp_unregister_icon_collection(), wp_register_icon() (inline content or file_path, names like collection/icon-name) and wp_get_icon() to render icons in PHP. Registered icons also show in the Icon block.

Register custom icons on init with this API instead of shipping your own SVG sprite logic.

Source, WP 7.1

Core

Admin and Editor removed from the default role picker

In 7.0, Administrator and Editor can no longer be chosen as the new user default role under Settings → General. Site Health warns if one was set before. A default_role_dropdown_excluded_roles filter controls the excluded roles.

Don't tell users to set Administrator or Editor as the default role; use the filter if a plugin truly needs it.

Source, WP 7.0

Core

Author link functions drop title attributes

get_the_author_link() and the_author_link() take a new $use_title_attr parameter (pass false to drop the tooltip), and the "Posts by Author" title attribute is removed from the author posts link by default.

Don't rely on the author posts link having a title attribute; the text is still available in the the_author_posts_link hook.

Source, WP 7.0