WordPress build repository browser

Timeline



04/04/2026: Yesterday

23:18 Changeset [61487] by SergeyBiryukov
  • trunk/wp-includes/version.php

Tests: Adjust Unicode tests for consistency.

Includes:

  • Adding missing @covers tags.
  • Correcting test class names as per the naming conventions.
  • Moving wp_check_invalid_utf8() tests to their own file, separate from wp_scrub_utf8().

Follow-up to [60630], [60793], [61000].

See #64225.
Built from https://develop.svn.wordpress.org/trunk@62207

06:38 Changeset [61486] by audrasjb
  • trunk/wp-admin/css/common-rtl.css
  • trunk/wp-admin/css/common-rtl.min.css
  • trunk/wp-admin/css/common.css
  • trunk/wp-admin/css/common.min.css
  • trunk/wp-includes/version.php

Administration: Improve dashboard widgets border styles.

This changeset fixes a CSS glitch on dashboard widgets bottom border when they are collapsed.

Follow-up to [61646].

Props pratik-jain, audrasjb, ankitkumarshah.
Fixes #65017.
See #64549.

Built from https://develop.svn.wordpress.org/trunk@62206

04/03/2026:

21:59 Changeset [61485] by SergeyBiryukov
  • trunk/wp-includes/version.php

Tests: Move data providers and helpers in Tests_REST_Server for consistency.

This ensures that data providers or helper functions used by a single test are located next to the test, for consistency with the rest of the test suite.

Follow-up to [37905], [37943], [45809], [47239], [47260], [47351], [48947], [49252], [49257], [51960], [53110], [56096], [59032].

See #64225.
Built from https://develop.svn.wordpress.org/trunk@62205

20:23 Changeset [61484] by joedolson
  • branches/7.0/wp-includes/css/media-views-rtl.css
  • branches/7.0/wp-includes/css/media-views-rtl.min.css
  • branches/7.0/wp-includes/css/media-views.css
  • branches/7.0/wp-includes/css/media-views.min.css
  • branches/7.0/wp-includes/version.php

Media: Update upload file overlay colors.

Update the colors used for the file upload overlay mask to use the new admin theme colors.

Reviewed by wildworks.
Merges 62199 to the 7.0 branch.

Props opurockey, huzaifaalmesbah, wildworks, audrasjb, manhar, joedolson.
Fixes #65001.
Built from https://develop.svn.wordpress.org/branches/7.0@62204

13:33 Changeset [61483] by SergeyBiryukov
  • branches/7.0/wp-admin/css/edit-rtl.css
  • branches/7.0/wp-admin/css/edit-rtl.min.css
  • branches/7.0/wp-admin/css/edit.css
  • branches/7.0/wp-admin/css/edit.min.css
  • branches/7.0/wp-includes/version.php

Admin Reskin: Correct ”Copied!” text alignment on Privacy Policy Guide screen.

Follow-up to [61645].

Reviewed by wildworks, SergeyBiryukov.
Merges [62196] to the 7.0 branch.

Props mukesh27, wildworks, audrasjb, shailu25, anupkankale, kapilpaul, SergeyBiryukov.
Fixes #65009.
Built from https://develop.svn.wordpress.org/branches/7.0@62203

01:34 Changeset [61482] by wildworks
  • branches/7.0/wp-admin/css/color-picker-rtl.css
  • branches/7.0/wp-admin/css/color-picker-rtl.min.css
  • branches/7.0/wp-admin/css/color-picker.css
  • branches/7.0/wp-admin/css/color-picker.min.css
  • branches/7.0/wp-includes/version.php

Admin Reskin: Change color picker height to match new design system.

Update min-height from 30px to 32px for the color picker button and related elements to match new design system.

Reviewed by joedolson, wildworks.
Merges [62191] to the 7.0 branch.

Props audrasjb, hmbashar, huzaifaalmesbah, joedolson, juanmaguitar, mukesh27, noruzzaman, ozgursar, rahultank, rcorrales, sajib1223, shailu25, tusharaddweb, vgnavada, wildworks.

Fixes #64761.
Built from https://develop.svn.wordpress.org/branches/7.0@62202

04/02/2026:

23:49 Changeset [61481] by SergeyBiryukov
  • trunk/wp-includes/class-wp-block-patterns-registry.php
  • trunk/wp-includes/version.php

Code Quality: Remove unused variable in WP_Block_Patterns_Registry.

Follow-up to [56805], [59101].

Props Soean, mukesh27.
See #64898.
Built from https://develop.svn.wordpress.org/trunk@62201

23:34 Changeset [61480] by joedolson
  • trunk/wp-admin/css/common-rtl.css
  • trunk/wp-admin/css/common-rtl.min.css
  • trunk/wp-admin/css/common.css
  • trunk/wp-admin/css/common.min.css
  • trunk/wp-includes/version.php

Admin: Limit scope of admin notice link design.

The design changes to admin notices links in the admin refresh were applied broadly to .notice, .error, and .updated classes, but these classes are sometimes used outside the context of an admin notice.

Change selectors from .notice a, .error a, .updated a to div.notice a, div.error a, div.updated a.

Props opurockey, audrasjb, vgnavada, gaisma22, shailu25, rbcorrales, joedolson.
Fixes #64976.
Built from https://develop.svn.wordpress.org/trunk@62200

23:10 Changeset [61479] by joedolson
  • trunk/wp-includes/css/media-views-rtl.css
  • trunk/wp-includes/css/media-views-rtl.min.css
  • trunk/wp-includes/css/media-views.css
  • trunk/wp-includes/css/media-views.min.css
  • trunk/wp-includes/version.php

Media: Update upload file overlay colors.

Update the colors used for the file upload overlay mask to use the new admin theme colors.

Props opurockey, huzaifaalmesbah, wildworks, audrasjb, manhar, joedolson.
Fixes #65001.
Built from https://develop.svn.wordpress.org/trunk@62199

01:24 Changeset [61478] by peterwilsoncc
  • trunk/wp-includes/collaboration/class-wp-http-polling-sync-server.php
  • trunk/wp-includes/version.php

REST API: Harden Real Time Collaboration endpoint.

Adds additional validation and permission checks the the Real Time Collaboration endpoint to ensure only input in the expected format is supported.

Props czarate, westonruter, joefusco.
Fixes #64890.

Built from https://develop.svn.wordpress.org/trunk@62198

04/01/2026:

22:15 Changeset [61477] by SergeyBiryukov
  • branches/7.0/wp-admin/css/list-tables-rtl.css
  • branches/7.0/wp-admin/css/list-tables-rtl.min.css
  • branches/7.0/wp-admin/css/list-tables.css
  • branches/7.0/wp-admin/css/list-tables.min.css
  • branches/7.0/wp-includes/version.php

Admin Reskin: Correct vertical alignment of pagination elements in list tables.

Follow-up to [61645].

Reviewed by audrasjb, SergeyBiryukov.
Merges [62182] to the 7.0 branch.

Props TobiasBg, rcorrales, opurockey, rahultank, SergeyBiryukov.
Fixes #64975.
Built from https://develop.svn.wordpress.org/branches/7.0@62197

22:03 Changeset [61476] by SergeyBiryukov
  • trunk/wp-admin/css/edit-rtl.css
  • trunk/wp-admin/css/edit-rtl.min.css
  • trunk/wp-admin/css/edit.css
  • trunk/wp-admin/css/edit.min.css
  • trunk/wp-includes/version.php

Admin Reskin: Correct ”Copied!” text alignment on Privacy Policy Guide screen.

Follow-up to [61645].

Props mukesh27, wildworks, audrasjb, shailu25, anupkankale, kapilpaul, SergeyBiryukov.
Fixes #65009.
Built from https://develop.svn.wordpress.org/trunk@62196

16:42 Changeset [61475] by jorgefilipecosta
  • branches/7.0/wp-includes/class-wp-connector-registry.php
  • branches/7.0/wp-includes/connectors.php
  • branches/7.0/wp-includes/version.php

Connectors: Replace plugin.slug with plugin.file in connector registration.

Use the plugin's main file path relative to the plugins directory
(e.g. akismet/akismet.php or hello.php) instead of the WordPress.org slug
to identify a connector's associated plugin.
This lets _wp_connectors_get_connector_script_module_data() check plugin
status with file_exists() and is_plugin_active() directly, removing the
get_plugins() slug-to-file mapping that was previously needed.

Props jorgefilipecosta, mukesh27, gziolo.
Fixes #65002.
Built from https://develop.svn.wordpress.org/branches/7.0@62195

16:38 Changeset [61474] by jorgefilipecosta
  • branches/7.0/wp-includes/class-wp-connector-registry.php
  • branches/7.0/wp-includes/connectors.php
  • branches/7.0/wp-includes/version.php

Connectors: Fix and generalize the API for custom connector types.

Validate setting_name, constant_name, and env_var_name in connector
registration — reject invalid values with _doing_it_wrong() instead of
silently falling back.
Change the auto-generated setting_name pattern from
connectors_ai_{$id}_api_key to connectors_{$type}_{$id}_api_key so it
works for any connector type. Built-in AI providers infer their names using
the existing connectors_ai_{$id}_api_key convention, preserving backward
compatibility.
Add constant_name and env_var_name as optional authentication fields,
allowing connectors to declare explicit PHP constant and environment
variable names for API key lookup. AI providers auto-generate these using
the {CONSTANT_CASE_ID}_API_KEY convention.
Refactor _wp_connectors_get_api_key_source() to accept explicit
env_var_name and constant_name parameters instead of deriving them from
the provider ID. Environment variable and constant checks are skipped when
not provided.
Generalize REST dispatch, settings registration, and script module data to
work with all connector types, not just ai_provider. Settings
registration skips already-registered settings. Non-AI connectors determine
isConnected based on key source.
Replace isInstalled with pluginFile in script module data output to fix
plugin entity ID resolution on the frontend.
Update PHPDoc to reflect current behavior — widen type from literal
'ai_provider' to non-empty-string, document new authentication fields,
and use Anthropic examples throughout.

Props gziolo, jorgefilipecosta.
Fixes #64957.
Built from https://develop.svn.wordpress.org/branches/7.0@62194

15:54 Changeset [61473] by jorgefilipecosta
  • trunk/wp-includes/connectors.php
  • trunk/wp-includes/version.php

Fix: Register Akismet Anti-Spam as a connector.

Akismet comes with core but the connectors screen was not showing akismet even if akismet was on the file system. This commit fixes the issue.

Props jorgefilipecosta, bluefuton, gziolo.
Fixes #65012.
Built from https://develop.svn.wordpress.org/trunk@62193

14:57 Changeset [61472] by jorgefilipecosta
  • trunk/wp-includes/class-wp-connector-registry.php
  • trunk/wp-includes/connectors.php
  • trunk/wp-includes/version.php

Connectors: Replace plugin.slug with plugin.file in connector registration.

Use the plugin's main file path relative to the plugins directory
(e.g. akismet/akismet.php or hello.php) instead of the WordPress.org slug
to identify a connector's associated plugin.
This lets _wp_connectors_get_connector_script_module_data() check plugin
status with file_exists() and is_plugin_active() directly, removing the
get_plugins() slug-to-file mapping that was previously needed.

Props jorgefilipecosta, mukesh27, gziolo.
Fixes #65002.
Built from https://develop.svn.wordpress.org/trunk@62192

09:19 Changeset [61471] by wildworks
  • trunk/wp-admin/css/color-picker-rtl.css
  • trunk/wp-admin/css/color-picker-rtl.min.css
  • trunk/wp-admin/css/color-picker.css
  • trunk/wp-admin/css/color-picker.min.css
  • trunk/wp-includes/version.php

Admin Reskin: Change color picker height to match new design system.

Update min-height from 30px to 32px for the color picker button and related elements to match new design system.

Props audrasjb, hmbashar, huzaifaalmesbah, joedolson, juanmaguitar, mukesh27, noruzzaman, ozgursar, rahultank, rcorrales, sajib1223, tusharaddweb, vgnavada, wildworks.

Fixes #64761.
Built from https://develop.svn.wordpress.org/trunk@62191

07:34 Changeset [61470] by wildworks
  • branches/7.0/wp-admin/css/common-rtl.css
  • branches/7.0/wp-admin/css/common-rtl.min.css
  • branches/7.0/wp-admin/css/common.css
  • branches/7.0/wp-admin/css/common.min.css
  • branches/7.0/wp-includes/version.php

Administration: Prevent horizontal scrollbar in contextual help panel.

In [62145], an ::after CSS rule was added that caused an overflow, resulting in an unintended scrollbar always appearing on Windows OS for example. This changeset removes the related CSS rule which is unnecessary to fix the initial issue.

Follow-up to [62145].

Reviewed by wildworks, SergeyBiryukov.
Merges [62187] to the 7.0 branch.

Props wildworks, SergeyBiryukov, sabernhardt, audrasjb, huzaifaalmesbah, mehrazmorshed, mukesh27.
Fixes #64744.
Built from https://develop.svn.wordpress.org/branches/7.0@62190

02:34 Changeset [61469] by peterwilsoncc
  • trunk/wp-includes/js/dist/vendor/moment.min.js
  • trunk/wp-includes/version.php

Build/Test Tools: Copy vendor scripts earlier in the build.

Relocates the copy-vendor-scripts to run during the the build:js portion of the build script. This ensures the JavaScript files are in place before the uglify:all task is run.

Follow up to r61438

Props desrosj.
Fixes #65006. See #64393.

Built from https://develop.svn.wordpress.org/trunk@62189

03/31/2026:

22:04 Changeset [61468] by SergeyBiryukov
  • trunk/wp-includes/script-loader.php
  • trunk/wp-includes/version.php

I18N: Add context for Next/Previous strings in the jQuery UI datepicker.

Follow-up to [37849].

Props timse201, anupkankale.
Fixes #65005.
Built from https://develop.svn.wordpress.org/trunk@62188

20:28 Changeset [61467] by audrasjb
  • trunk/wp-admin/css/common-rtl.css
  • trunk/wp-admin/css/common-rtl.min.css
  • trunk/wp-admin/css/common.css
  • trunk/wp-admin/css/common.min.css
  • trunk/wp-includes/version.php

Administration: Prevent horizontal scrollbar in contextual help panel.

In [62145], an ::after CSS rule was added that caused an overflow, resulting in an unintended scrollbar always appearing on Windows OS for example. This changeset removes the related CSS rule which is unnecessary to fix the initial issue.

Follow-up to [62145].

Props wildworks, SergeyBiryukov, sabernhardt, audrasjb, huzaifaalmesbah, mehrazmorshed, mukesh27.
Fixes #64744.

Built from https://develop.svn.wordpress.org/trunk@62187

20:18 Changeset [61466] by audrasjb
  • trunk/wp-admin/includes/class-wp-posts-list-table.php
  • trunk/wp-includes/version.php

I18N: Provide gettext context to disambiguate translation strings for "Bulk Edit".

The "Bulk Edit" translation string is used for both verbs and nouns, and may have different translations in some Locales. This changeset helps disambuguating these different contexts.

Follow-up to [61255].

Props audrasjb, shailu25.
Fixes #64994.

Built from https://develop.svn.wordpress.org/trunk@62186

19:26 Changeset [61465] by audrasjb
  • trunk/wp-admin/includes/meta-boxes.php
  • trunk/wp-includes/version.php

I18N: Provide gettext context to disambiguate translation strings for "Notes".

"Notes" translation string is used in both the Notes features and in the Link Manager, and they can have different meaning in some Locales, like in German for example. This changeset helps disambuguating these different contexts.

Props westonruter, dmsnell, johnbillion.
Fixes #64980.

Built from https://develop.svn.wordpress.org/trunk@62185

17:02 Changeset [61464] by westonruter
  • trunk/wp-includes/version.php

Build/Test Tools: Remove erroneous PHP tags for translations from QUnit HTML file.

The markup had surely been copied from the PHP source file, as opposed to being copied from the rendered HTML, as it should have been.

Developed in https://github.com/WordPress/wordpress-develop/pull/11403

Follow-up to r41773.

Props westonruter, jonsurrell, desrosj, SergeyBiryukov.
See #64225, #40104.

Built from https://develop.svn.wordpress.org/trunk@62184

03/30/2026:

21:10 Changeset [61463] by SergeyBiryukov
  • trunk/wp-admin/css/list-tables-rtl.css
  • trunk/wp-admin/css/list-tables-rtl.min.css
  • trunk/wp-admin/css/list-tables.css
  • trunk/wp-admin/css/list-tables.min.css
  • trunk/wp-includes/version.php

Admin Reskin: Correct vertical alignment of pagination elements in list tables.

Props TobiasBg, rcorrales, opurockey, rahultank, SergeyBiryukov.
Fixes #64975.
Built from https://develop.svn.wordpress.org/trunk@62182

14:26 Changeset [61462] by jorgefilipecosta
  • trunk/wp-includes/class-wp-connector-registry.php
  • trunk/wp-includes/connectors.php
  • trunk/wp-includes/version.php

Connectors: Fix and generalize the API for custom connector types.

Validate setting_name, constant_name, and env_var_name in connector
registration — reject invalid values with _doing_it_wrong() instead of
silently falling back.
Change the auto-generated setting_name pattern from
connectors_ai_{$id}_api_key to connectors_{$type}_{$id}_api_key so it
works for any connector type. Built-in AI providers infer their names using
the existing connectors_ai_{$id}_api_key convention, preserving backward
compatibility.
Add constant_name and env_var_name as optional authentication fields,
allowing connectors to declare explicit PHP constant and environment
variable names for API key lookup. AI providers auto-generate these using
the {CONSTANT_CASE_ID}_API_KEY convention.
Refactor _wp_connectors_get_api_key_source() to accept explicit
env_var_name and constant_name parameters instead of deriving them from
the provider ID. Environment variable and constant checks are skipped when
not provided.
Generalize REST dispatch, settings registration, and script module data to
work with all connector types, not just ai_provider. Settings
registration skips already-registered settings. Non-AI connectors determine
isConnected based on key source.
Replace isInstalled with pluginFile in script module data output to fix
plugin entity ID resolution on the frontend.
Update PHPDoc to reflect current behavior — widen type from literal
'ai_provider' to non-empty-string, document new authentication fields,
and use Anthropic examples throughout.

Props gziolo, jorgefilipecosta.
Fixes #64957.
Built from https://develop.svn.wordpress.org/trunk@62180

06:02 Changeset [61461] by westonruter
  • trunk/wp-admin/includes/class-wp-importer.php
  • trunk/wp-admin/includes/class-wp-privacy-requests-table.php
  • trunk/wp-admin/includes/class-wp-site-health.php
  • trunk/wp-admin/includes/dashboard.php
  • trunk/wp-admin/includes/file.php
  • trunk/wp-admin/includes/media.php
  • trunk/wp-admin/includes/plugin.php
  • trunk/wp-admin/includes/post.php
  • trunk/wp-includes/version.php

Code Quality: Replace void with proper return types in Administration PHPDoc annotations.

Replace void in union return types with null or remove it where the function always returns a value or dies, across 8 files in wp-admin/includes. Adds explicit return null; statements where functions previously fell through without a return value.

Additionally:

  • Adds @return never for media_send_to_editor() and removes misleading return from its callers.
  • Removes void from return types where the function always returns a value or exits: write_post(), WP_Importer::set_blog(), WP_Importer::set_user().
  • Replaces mixed|void with a specific array shape for WP_Site_Health::perform_test().

Developed in https://github.com/WordPress/wordpress-develop/pull/11008

Follow-up to r62178, r62177, r61766, r61719.

Props apermo, xate, westonruter, mukesh27, desrosj.
Fixes #64702.

Built from https://develop.svn.wordpress.org/trunk@62179

05:32 Changeset [61460] by westonruter
  • trunk/wp-includes/canonical.php
  • trunk/wp-includes/capabilities.php
  • trunk/wp-includes/class-wp-admin-bar.php
  • trunk/wp-includes/class-wp-block-type.php
  • trunk/wp-includes/class-wp-plugin-dependencies.php
  • trunk/wp-includes/class-wp-recovery-mode.php
  • trunk/wp-includes/class-wp-roles.php
  • trunk/wp-includes/class-wp-scripts.php
  • trunk/wp-includes/class-wp-theme-json.php
  • trunk/wp-includes/class-wp-widget.php
  • trunk/wp-includes/class-wp-xmlrpc-server.php
  • trunk/wp-includes/comment.php
  • trunk/wp-includes/formatting.php
  • trunk/wp-includes/functions.php
  • trunk/wp-includes/media.php
  • trunk/wp-includes/ms-functions.php
  • trunk/wp-includes/post.php
  • trunk/wp-includes/revision.php
  • trunk/wp-includes/script-loader.php
  • trunk/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php
  • trunk/wp-includes/theme.php
  • trunk/wp-includes/version.php
  • trunk/wp-includes/widgets.php

Code Quality: Replace void with proper return types in union PHPDoc annotations.

In PHP's type system, void means a function does not return a value and cannot be part of a union type. Many functions in core were documented as returning e.g. string|void while actually returning null implicitly via bare return; statements. This replaces void with null in union return types, adds explicit return null; statements, and updates @return annotations across 22 files in wp-includes.

Additionally:

  • Adds @return never for WP_Recovery_Mode::redirect_protected().
  • Fixes WP_Theme_JSON::set_spacing_sizes() to use @return void instead of @return null|void.
  • Removes void from return types where the function always returns a value or dies: remove_theme_support(), WP_Recovery_Mode::handle_error().
  • Fixes wp_die() return type from never|void to void with clarified description.
  • Initializes $primary variable in get_active_blog_for_user() to prevent a possible undefined variable notice.

Developed in https://github.com/WordPress/wordpress-develop/pull/11012

Follow-up to r62177, r61766, r61719.

Props apermo, xateman, westonruter, parthvataliya, nimeshatxecurify.
See #64704.

Built from https://develop.svn.wordpress.org/trunk@62178

05:07 Changeset [61459] by westonruter
  • trunk/wp-includes/class-wpdb.php
  • trunk/wp-includes/functions.php
  • trunk/wp-includes/version.php

Code Quality: Replace void with proper return types in wpdb and related functions.

Replace void in union return types with null, false, or never as appropriate, and add explicit return null statements where methods previously fell through without a return value.

Methods updated in wpdb: prepare(), print_error(), check_connection(), get_row(), get_col_info(), bail(), check_database_version().

Also adds @return never to dead_db() and fixes the @phpstan-return syntax for wp_die().

Developed in https://github.com/WordPress/wordpress-develop/pull/11009

Props apermo, westonruter, xate, mukesh27, SergeyBiryukov.
Fixes #64703.

Built from https://develop.svn.wordpress.org/trunk@62177

00:17 Changeset [61458] by westonruter
  • trunk/wp-includes/embed.php
  • trunk/wp-includes/media.php
  • trunk/wp-includes/version.php

Media: Guard against false return values from wp_get_attachment_image_src() and wp_getimagesize().

  • Add is_array() checks before accessing return values from wp_get_attachment_image_src() in get_oembed_response_data_rich(), wp_playlist_shortcode(), and wp_prepare_attachment_for_js().
  • Guard wp_getimagesize() calls within wp_get_attachment_image_src() itself.
  • Ensure wp_get_attachment_image_src() always returns the expected array{0: string, 1: int, 2: int, 3: bool} type or false by normalizing the filter result with explicit type casting and default values.
  • Add @phpstan-return annotations to both wp_get_attachment_image_src() and wp_getimagesize() for the specific array shapes.

Developed in https://github.com/WordPress/wordpress-develop/pull/11073

Props hbhalodia, westonruter, mukesh27, edent, ozgursar, roshniahuja14.
Fixes #64742.

Built from https://develop.svn.wordpress.org/trunk@62176

03/29/2026:

22:31 Changeset [61457] by SergeyBiryukov
  • trunk/wp-admin/includes/class-pclzip.php
  • trunk/wp-includes/IXR/class-IXR-value.php
  • trunk/wp-includes/functions.php
  • trunk/wp-includes/version.php

Code Quality: Replace is_integer() with is_int() for consistency.

is_integer() is an alias for is_int(). While they function identically, the WordPress Coding Standards and modern PHP practices generally lean towards using the official function name rather than its alias to maintain consistency across the codebase.

Props Soean, westonruter, SergeyBiryukov.
See #64913.
Built from https://develop.svn.wordpress.org/trunk@62175

02:41 Changeset [61456] by westonruter
  • trunk/wp-includes/version.php

Tests: Prevent unconditional HTTP request in PluralFormsTest data provider.

Developed in https://github.com/WordPress/wordpress-develop/pull/11382

Follow-up to r41722.

Props westonruter, swissspidy, SergeyBiryukov.
See #41562.
Fixes #41562.

Built from https://develop.svn.wordpress.org/trunk@62174

Note: See TracTimeline for information about the timeline view.