WordPress build repository browser

Timeline

03/02/2024:

20:15 Changeset [57256] by joedolson
  • trunk/wp-admin/includes/ajax-actions.php
  • trunk/wp-admin/includes/class-custom-image-header.php
  • trunk/wp-admin/includes/class-wp-site-icon.php
  • trunk/wp-admin/includes/image.php
  • trunk/wp-includes/version.php

Media: Accessibility: Copy attachment properties on site icon crop.

Add parity between site icon, custom header, and default image crop behaviors. [53027] fixed a bug where alt text and caption were not copied on custom headers, but did not apply that change in any other context.

Deprecate the create_attachment_object method in the Wp_Site_Icon and Custom_Image_Header classes and replace that functionality with the new function wp_copy_parent_attachment_properties() to improve consistency.

Props afercia, rcreators, jorbin, joedolson, huzaifaalmesbah, shailu25, swissspidy, mukesh27.
Fixes #60524.
Built from https://develop.svn.wordpress.org/trunk@57755

14:13 Changeset [57255] by swissspidy
  • trunk/wp-includes/block-bindings/post-meta.php
  • trunk/wp-includes/version.php

Editor: do not expose protected post meta fields in block bindings.

Ignores meta keys which are considered protected or not registered to be shown in the REST API. Adds tests.

Props santosguillamot, swissspidy, gziolo, xknown, peterwilsoncc.
Fixes #60651.
Built from https://develop.svn.wordpress.org/trunk@57754

14:07 Changeset [57254] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add initial tests for the WP_Filesystem_Direct class.

Since WP_Filesystem_Direct is by far the most used filesystem abstraction class, this facilitates future changes with sufficient test coverage.

Props swissspidy, costdev, mukesh27.
Fixes #57774.
Built from https://develop.svn.wordpress.org/trunk@57753

13:49 Changeset [57253] by SergeyBiryukov
  • trunk/wp-includes/version.php
  • trunk/xmlrpc.php

Docs: Document the $xmlrpc_logging global in logIO().

Follow-up to [1348], [19935].

Props viralsampat, upadalavipul, sabernhardt.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57752

13:41 Changeset [57252] by swissspidy
  • trunk/wp-includes/class-wp-theme-json.php
  • trunk/wp-includes/version.php

Editor: Simplify sanitization code path in WP_Theme_JSON after [57496]

Removes the custom WP_Theme_JSON::is_assoc() method again in favor of the existing wp_is_numeric_array() helper function.

Props mmaattiiaass, costdev, swissspidy, spacedmonkey.
Fixes #60360.
Built from https://develop.svn.wordpress.org/trunk@57751

13:38 Changeset [57251] by swissspidy
  • trunk/wp-includes/class-wp-comment-query.php
  • trunk/wp-includes/class-wp-network-query.php
  • trunk/wp-includes/class-wp-query.php
  • trunk/wp-includes/class-wp-site-query.php
  • trunk/wp-includes/class-wp-term-query.php
  • trunk/wp-includes/class-wp-user-query.php
  • trunk/wp-includes/version.php

Query: Remove leading whitespace from certain database queries.

Unintended leading whitespace at the beginning of a raw MySQL query led to unexpected behavior such as broken pagination. Eliminating said whitespace avoids that.

Adds unit tests to prevent regressions.

Props wpfed, swissspidy, ironprogrammer, tadamarketing, afercia.
Fixes #56841.
Built from https://develop.svn.wordpress.org/trunk@57750

12:55 Changeset [57250] by SergeyBiryukov
  • trunk/wp-includes/version.php

Build/Test Tools: Use a consistent parameter name between rand_str() and rand_long_str().

Follow-up to [36272], [50265].

Props harsh175, sabernhardt.
Fixes #60401.
Built from https://develop.svn.wordpress.org/trunk@57749

10:47 Changeset [57249] by SergeyBiryukov
  • trunk/wp-includes/version.php
  • trunk/wp-settings.php

Docs: Document some globals in wp-settings.php.

Follow-up to [18532], [18993], [27158], [38362].

Props upadalavipul, viralsampat, sabernhardt.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57748

03/01/2024:

22:43 Changeset [57248] by SergeyBiryukov
  • trunk/wp-includes/admin-bar.php
  • trunk/wp-includes/version.php

Docs: Correct the placement of @global tags in wp-includes/admin-bar.php.

Follow-up to [38810], [56209].

Props shailu25, sabernhardt.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57747

16:21 Changeset [57247] by joedolson
  • trunk/wp-admin/js/customize-nav-menus.js
  • trunk/wp-admin/js/customize-nav-menus.min.js
  • trunk/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
  • trunk/wp-includes/version.php

Customize: Accessibility: Label menu subitems when updating menus.

Fix missing subitem indicator when menu items in the Customizer are children of parent menu items & add menu item original title to button text. Adds parity with the admin menu editor and fixes a bug where the button text was 'untitled' if the menu item title had not been edited.

Props designsimply, afercia, celloexpressions, kushang78, joedolson, rcreators.
Fixes #32728.
Built from https://develop.svn.wordpress.org/trunk@57746

02/29/2024:

22:02 Changeset [57246] by swissspidy
  • trunk/wp-admin/js/common.js
  • trunk/wp-admin/js/common.min.js
  • trunk/wp-admin/js/inline-edit-post.js
  • trunk/wp-admin/js/inline-edit-post.min.js
  • trunk/wp-includes/version.php

Quick/Bulk Edit: Ensure the “All” checkbox is properly toggled in certain scenarios.

When removing a single item from the bulk edit box or when adding more items, the “All” checkboxes at the top and bottom of the posts list table should be properly toggled.

Props hiteshtalpada, oglekler, webcommsat, ugyensupport, chaion07, Toru.
Fixes #59121.
Built from https://develop.svn.wordpress.org/trunk@57745

20:02 Changeset [57245] by SergeyBiryukov
  • trunk/wp-includes/version.php

Tests: Use assertSame() in post meta revisioning tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using assertSame() should generally be preferred to assertEquals() where appropriate, to make the tests more reliable.

Includes correcting the test class name.

Follow-up to [56714].

See #59655.
Built from https://develop.svn.wordpress.org/trunk@57744

14:30 Changeset [57244] by swissspidy
  • trunk/wp-includes/interactivity-api/interactivity-api.php
  • trunk/wp-includes/version.php

Interactivity API: Revert [57742] pending a Gutenberg package update.

This function can only be renamed after updating Gutenberg npm packages, as some of the core blocks already use this function.

See #60575.
Built from https://develop.svn.wordpress.org/trunk@57743

12:28 Changeset [57243] by swissspidy
  • trunk/wp-includes/interactivity-api/interactivity-api.php
  • trunk/wp-includes/version.php

Interactivity API: Rename data_wp_context() to wp_interactivity_data_wp_context().

Increases clarity about where the function belongs to, bringing it in line with other related functions.

Props swissspidy, gziolo, cbravobernal, youknowriad, ankitmaru, westonruter, luisherranz, darerodz.
Fixes #60575.
Built from https://develop.svn.wordpress.org/trunk@57742

12:17 Changeset [57242] by swissspidy
  • trunk/wp-admin/includes/class-wp-privacy-policy-content.php
  • trunk/wp-includes/version.php

Privacy: Update default privacy page content to use latest block markup.

Avoids “Updated Block” warnings being logged to the console.

Props 254volkan, swissspidy.
Fixes #60530.
Built from https://develop.svn.wordpress.org/trunk@57741

10:17 Changeset [57241] by youknowriad
  • trunk/wp-includes/fonts.php
  • trunk/wp-includes/rest-api/endpoints/class-wp-rest-font-faces-controller.php
  • trunk/wp-includes/version.php

Editor: Prevent infinite loops when filtering the font library folder.

Changing the font library is something we expect hosts to perform.
It's important that we make this filter as seemless as possible.
This commit prevents a potential infinite loop caused by calling wp_get_upload_dir() within the font_dir filter.

Props mmaattiiaass, ironprogrammer, costdev, swissspidy.
Fixes #60652.
Built from https://develop.svn.wordpress.org/trunk@57740

10:08 Changeset [57240] by youknowriad
  • trunk/wp-content/themes/twentytwentyfour/theme.json
  • trunk/wp-includes/version.php

Bundled Theme: Fix focus outline in Twenty Twenty-Four in the editor.

Improvements made to the focus outline style for Twenty Twenty-Four caused a regression in the focus outlines of the block editor. This commit solves the regressions by reducing the CSS specificity while keeping the improvements.

Follow-up to [57554].

Props wildworks, poena, sabernhardt, youknowriad, oglekler.
Fixes #60535.
Built from https://develop.svn.wordpress.org/trunk@57739

02/28/2024:

21:15 Changeset [57239] by dmsnell
  • trunk/wp-includes/html-api/class-wp-html-tag-processor.php
  • trunk/wp-includes/version.php

HTML API: Remove superfluous type-coercing empty() check.

When returning modifiable text in the HTML API, if the text segment
coerces to false inside empty(), then an empty string has been
returned instead of the string itself. For example, the text node in the
following HTML snippet:

    <div>0</div>

In this patch the empty() check is removed. The purpose of the original
check was to skip further processing if the text content is empty, but
the check is not needed and the additioanl processing is minimal.
Removing the code removes the defect and leaves a cleaner method in its
absence.

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

Follow-up to [57348]
Follow-up to #60170

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

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

Tests: Expand wp_parse_id_list() unit tests.

Includes:

  • Moving pre-existing wp_parse_id_list() tests to their own file.
  • Merging new and pre-existing wp_parse_slug_list() tests.
  • Using named data provider in wp_parse_list() tests.

Follow-up to [25170], [40044], [44546], [57284], [57725].

Props pbearne, mukesh27, SergeyBiryukov.
Fixes #60218. See #60217, #59647.
Built from https://develop.svn.wordpress.org/trunk@57737

18:04 Changeset [57237] by costdev
  • trunk/wp-includes/class-wp-plugin-dependencies.php
  • trunk/wp-includes/version.php

Plugin Dependencies: Don't assume API response has a slug property.

Previously, WP_Plugin_Dependencies::get_dependency_api_data() attempted to set an array key using the slug property returned in a Plugins API response. However, the Plugins API response is filterable and may not contain a slug property.

Earlier in the method, a local $slug variable is used as a key for the same array.

For safety and consistency, this replaces array key references to $information->slug with $slug.

Follow-up to [57545].

Props pbiron, afragen, swissspidy, costdev.
Fixes #60540.
Built from https://develop.svn.wordpress.org/trunk@57736

09:46 Changeset [57236] by swissspidy
  • trunk/wp-includes/version.php

Tests: Address capitalization and docblock inconsistencies in some test class names.

Follow-up to [57060], [57718], [57725], [57726], [57727], [57728], [57733].

Props swissspidy, costdev.
See #59647.
Built from https://develop.svn.wordpress.org/trunk@57735

09:31 Changeset [57235] by swissspidy
  • trunk/wp-includes/pomo/entry.php
  • trunk/wp-includes/pomo/translations.php
  • trunk/wp-includes/version.php

I18N: Improve docs for pomo library classes.

Props subrataemfluence, pento, hrshahin.
Fixes #44424.
Built from https://develop.svn.wordpress.org/trunk@57734

02/27/2024:

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

Tests: Correct capitalization and fix typos in some test class names.

Follow-up to [57060], [57718], [57725], [57726], [57727], [57728].

See #59647.
Built from https://develop.svn.wordpress.org/trunk@57733

22:38 Changeset [57233] by hellofromTonya
  • trunk/wp-includes/class-wp-list-util.php
  • trunk/wp-includes/version.php

General: Revert r57698 for WP_List_Util::pluck().

r57698 caused a regression for arrays of objects which have magic methods and dynamic properties. A fix is identified.

However, a deeper dive discovered additional scenarios which will require a different fix.

Reverting gives more time for resolving these scenarios and more soak time to discover if there are others.

Props dd32, jamescollins, swissspidy.
See #59774.
Built from https://develop.svn.wordpress.org/trunk@57732

21:05 Changeset [57232] by joemcgill
  • trunk/wp-includes/block-patterns.php
  • trunk/wp-includes/class-wp-block-patterns-registry.php
  • trunk/wp-includes/version.php

Docs: Improve docblock for WP_Block_Patterns_Registry::register.

This documents the new filePath property supported by WP_Block_Patterns_Registry::register and also updates the property name to camel case formatting to be consistent with other block pattern properties.

Props thekt12, spacedmonkey, joemcgill.
See #59532.

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

20:21 Changeset [57231] by jorbin
  • trunk/wp-includes/class-wp-customize-manager.php
  • trunk/wp-includes/customize/class-wp-customize-site-icon-control.php
  • trunk/wp-includes/version.php

Site Icon/Customizer: Update strings in customizer to align with options-general.php.

This uses the new strings for alt text and site icon description that were introduced in [57713] as a part of #54370.

The strings are translated in PHP and then use wp.i18n.sprintf since the alt text strings live in a PHP file even though they are output as part of a template that is used in JavaScript.

Props westonruter, swissspidy, jorbin.
Fixes #60641.

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

19:09 Changeset [57230] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for _delete_option_fresh_site().

Props pbearne, costdev, desrosj.
Fixes #57191.
Built from https://develop.svn.wordpress.org/trunk@57729

18:53 Changeset [57229] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for maybe_hash_hex_color().

Props pbearne.
Fixes #60272.
Built from https://develop.svn.wordpress.org/trunk@57728

18:51 Changeset [57228] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for sanitize_hex_color_no_hash().

Props pbearne.
Fixes #60271.
Built from https://develop.svn.wordpress.org/trunk@57727

18:49 Changeset [57227] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for sanitize_hex_color().

Props pbearne.
Fixes #60270.
Built from https://develop.svn.wordpress.org/trunk@57726

17:17 Changeset [57226] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for wp_parse_slug_list().

Props pbearne.
Fixes #60217.
Built from https://develop.svn.wordpress.org/trunk@57725

17:15 Changeset [57225] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add unit tests for absint().

Props pbearne.
Fixes #60101.
Built from https://develop.svn.wordpress.org/trunk@57724

16:26 Changeset [57224] by swissspidy
  • trunk/wp-includes/version.php

Post WordPress 6.5 Beta 3 version bump.
Built from https://develop.svn.wordpress.org/trunk@57723

16:14 Changeset [57223] by swissspidy
  • trunk/wp-includes/version.php

WordPress 6.5 Beta 3.
Built from https://develop.svn.wordpress.org/trunk@57722

14:48 Changeset [57222] by youknowriad
  • trunk/wp-includes/assets/script-loader-packages.min.php
  • trunk/wp-includes/assets/script-loader-packages.php
  • trunk/wp-includes/blocks/cover/style-rtl.css
  • trunk/wp-includes/blocks/cover/style-rtl.min.css
  • trunk/wp-includes/blocks/cover/style.css
  • trunk/wp-includes/blocks/cover/style.min.css
  • trunk/wp-includes/blocks/footnotes.php
  • trunk/wp-includes/blocks/navigation.php
  • trunk/wp-includes/blocks/search/style-rtl.css
  • trunk/wp-includes/blocks/search/style-rtl.min.css
  • trunk/wp-includes/blocks/search/style.css
  • trunk/wp-includes/blocks/search/style.min.css
  • trunk/wp-includes/css/dist/block-editor/style-rtl.css
  • trunk/wp-includes/css/dist/block-editor/style-rtl.min.css
  • trunk/wp-includes/css/dist/block-editor/style.css
  • trunk/wp-includes/css/dist/block-editor/style.min.css
  • trunk/wp-includes/css/dist/block-library/style-rtl.css
  • trunk/wp-includes/css/dist/block-library/style-rtl.min.css
  • trunk/wp-includes/css/dist/block-library/style.css
  • trunk/wp-includes/css/dist/block-library/style.min.css
  • trunk/wp-includes/css/dist/components/style-rtl.css
  • trunk/wp-includes/css/dist/components/style-rtl.min.css
  • trunk/wp-includes/css/dist/components/style.css
  • trunk/wp-includes/css/dist/components/style.min.css
  • trunk/wp-includes/css/dist/edit-site/style-rtl.css
  • trunk/wp-includes/css/dist/edit-site/style-rtl.min.css
  • trunk/wp-includes/css/dist/edit-site/style.css
  • trunk/wp-includes/css/dist/edit-site/style.min.css
  • trunk/wp-includes/js/dist/block-editor.js
  • trunk/wp-includes/js/dist/block-editor.min.js
  • trunk/wp-includes/js/dist/block-library.js
  • trunk/wp-includes/js/dist/block-library.min.js
  • trunk/wp-includes/js/dist/blocks.js
  • trunk/wp-includes/js/dist/blocks.min.js
  • trunk/wp-includes/js/dist/core-data.js
  • trunk/wp-includes/js/dist/core-data.min.js
  • trunk/wp-includes/js/dist/edit-post.js
  • trunk/wp-includes/js/dist/edit-post.min.js
  • trunk/wp-includes/js/dist/edit-site.js
  • trunk/wp-includes/js/dist/edit-site.min.js
  • trunk/wp-includes/js/dist/editor.js
  • trunk/wp-includes/js/dist/editor.min.js
  • trunk/wp-includes/js/dist/interactivity-router.asset.php
  • trunk/wp-includes/js/dist/interactivity-router.js
  • trunk/wp-includes/js/dist/interactivity-router.min.asset.php
  • trunk/wp-includes/js/dist/interactivity-router.min.js
  • trunk/wp-includes/js/dist/interactivity.js
  • trunk/wp-includes/js/dist/interactivity.min.js
  • trunk/wp-includes/js/dist/patterns.js
  • trunk/wp-includes/js/dist/patterns.min.js
  • trunk/wp-includes/version.php

Editor: Update Packages with the latest bug fixes for 6.5 beta 3

It includes all the backports from this Gutenberg PR https://github.com/WordPress/gutenberg/pull/59394/

Props get_dave, youknowriad.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57721

12:06 Changeset [57221] by youknowriad
  • trunk/wp-includes/fonts.php
  • trunk/wp-includes/fonts/class-wp-font-face-resolver.php
  • trunk/wp-includes/version.php

Font face resolver: print font faces from font families defined in all theme.json origins.

This commit updates the theme.json style generation to allow a font family name to be repeated across theme.json origins (default, theme, custom).

Props mmaattiiaass, hellofromtonya, arthur791004, ironprogrammer.
Fixes #60605.
Built from https://develop.svn.wordpress.org/trunk@57720

10:29 Changeset [57220] by swissspidy
  • trunk/wp-includes/class-wp-comment-query.php
  • trunk/wp-includes/class-wp-network-query.php
  • trunk/wp-includes/class-wp-term-query.php
  • trunk/wp-includes/version.php

Docs: Improve wording and add missing full stops in a few docblocks.

Props shailu25, sabernhardt.
Fixes #60323.
Built from https://develop.svn.wordpress.org/trunk@57719

10:25 Changeset [57219] by swissspidy
  • trunk/wp-includes/version.php

Build/Test Tools: Add PHPUnit test for the _mce_set_direction function.

The new test checks the functionality of the text direction setting, ensuring it correctly switches between rtl and ltr options.

Props pbearne, SergeyBiryukov.
Fixes #60219.
Built from https://develop.svn.wordpress.org/trunk@57718

10:22 Changeset [57218] by swissspidy
  • trunk/wp-includes/class-wp-theme-json.php
  • trunk/wp-includes/version.php

Editor: add shadow.defaultPresets to appearance tools opt-ins.

Props madhudollu.
Fixes #60633.
Built from https://develop.svn.wordpress.org/trunk@57717

10:15 Changeset [57217] by youknowriad
  • trunk/wp-includes/class-wp-theme-json.php
  • trunk/wp-includes/version.php

Editor: Check for null values in Theme JSON to cater for blockGap.

When resolving theme.json preset variables, add a check to make sure the value is not empty before we run it through strpos() and preg_match_all().

Props ramonopoly, mukesh27, get_dave.
Fixes #60613.
Built from https://develop.svn.wordpress.org/trunk@57716

02/26/2024:

23:51 Changeset [57216] by ryelle
  • trunk/wp-admin/about.php
  • trunk/wp-admin/contribute.php
  • trunk/wp-admin/credits.php
  • trunk/wp-admin/css/about-rtl.css
  • trunk/wp-admin/css/about-rtl.min.css
  • trunk/wp-admin/css/about.css
  • trunk/wp-admin/css/about.min.css
  • trunk/wp-admin/freedoms.php
  • trunk/wp-admin/images/about-header-about.svg
  • trunk/wp-admin/images/about-header-background.svg
  • trunk/wp-admin/images/about-header-contribute.svg
  • trunk/wp-admin/images/about-header-credits.svg
  • trunk/wp-admin/images/about-header-freedoms.svg
  • trunk/wp-admin/images/about-header-privacy.svg
  • trunk/wp-admin/images/about-release-badge.svg
  • trunk/wp-admin/images/contribute-code.svg
  • trunk/wp-admin/images/contribute-main.svg
  • trunk/wp-admin/images/contribute-no-code.svg
  • trunk/wp-admin/images/freedom-1.svg
  • trunk/wp-admin/images/freedom-2.svg
  • trunk/wp-admin/images/freedom-3.svg
  • trunk/wp-admin/images/freedom-4.svg
  • trunk/wp-admin/images/privacy.svg
  • trunk/wp-admin/privacy.php
  • trunk/wp-includes/version.php

Help/About: Update the About page for 6.5.

Introducing the new content & design for the 6.5 About page & related pages. This style is simplified, with no header images, and brings back the illustrations from previous versions for Contribute, Freedoms, and Privacy.

This also includes a fix for heading hierarchy on the Get Involved page.

Props laurlittle, dansoschin, benjamin_zekavica, richtabor, joen, annezazu, swissspidy, marybaum, ryelle, huzaifaalmesbah.
See #60303.

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

20:35 Changeset [57215] by swissspidy
  • trunk/wp-admin/import.php
  • trunk/wp-admin/includes/class-plugin-installer-skin.php
  • trunk/wp-admin/includes/class-theme-installer-skin.php
  • trunk/wp-admin/includes/class-theme-upgrader-skin.php
  • trunk/wp-admin/includes/class-wp-ms-sites-list-table.php
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php
  • trunk/wp-admin/includes/class-wp-themes-list-table.php
  • trunk/wp-admin/includes/plugin-install.php
  • trunk/wp-admin/includes/theme-install.php
  • trunk/wp-admin/js/updates.js
  • trunk/wp-admin/js/updates.min.js
  • trunk/wp-admin/press-this.php
  • trunk/wp-includes/version.php

Upgrade/Install: Improve localized strings related to plugin/theme installation and activation.

Adds context to strings where applicable to disambiguate them, coherently throughout the admin. Also improves some of the strings introduced in [57545] to ease localization.

Props swissspidy, costdev.
Fixes #60630. See #22316.
Built from https://develop.svn.wordpress.org/trunk@57714

20:18 Changeset [57214] by jorbin
  • trunk/wp-admin/css/forms-rtl.css
  • trunk/wp-admin/css/forms-rtl.min.css
  • trunk/wp-admin/css/forms.css
  • trunk/wp-admin/css/forms.min.css
  • trunk/wp-admin/css/site-icon-rtl.css
  • trunk/wp-admin/css/site-icon-rtl.min.css
  • trunk/wp-admin/css/site-icon.css
  • trunk/wp-admin/css/site-icon.min.css
  • trunk/wp-admin/includes/options.php
  • trunk/wp-admin/js/site-icon.js
  • trunk/wp-admin/js/site-icon.min.js
  • trunk/wp-admin/options-general.php
  • trunk/wp-includes/script-loader.php
  • trunk/wp-includes/version.php

Site icon: Polish up Site Icon on the general settings screen.

This fixes a number of issues, chief among them:

  • Updates to the site title are reflected in the preview.
  • Improve alt text for preview
  • Make string describing site icon more succinct.
  • Add inline documentation to JavaScript

Props kebbet, jorbin, swissspidy, afercia, mukesh27, alexstine, jameskoster, andraganescu.
Fixes #54370.

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

16:27 Changeset [57213] by SergeyBiryukov
  • trunk/wp-content/themes/twentynineteen/inc/color-patterns.php
  • trunk/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
  • trunk/wp-content/themes/twentynineteen/style-editor.css
  • trunk/wp-content/themes/twentynineteen/style-editor.scss
  • trunk/wp-content/themes/twentynineteen/style-rtl.css
  • trunk/wp-content/themes/twentynineteen/style.css
  • trunk/wp-includes/version.php

Twenty Nineteen: Further adjust CSS selectors used to change the primary color.

This aims to make the file, button, quote, pullquote, and search block selectors work on multiple WordPress versions.

Follow-up to [57637].

Props poena, mukesh27.
Fixes #59922.
Built from https://develop.svn.wordpress.org/trunk@57712

10:43 Changeset [57212] by swissspidy
  • trunk/wp-includes/user.php
  • trunk/wp-includes/version.php

Login and Registration: Slash email address when updating an existing user.

Addresses an issue with password reset keys when the email address contains special characters such as apostrophes.

Props emirpprime, rajinsharwar, fnpen, hellofromTonya, oglekler, nicolefurlan.
Fixes #52529.
Built from https://develop.svn.wordpress.org/trunk@57711

10:29 Changeset [57211] by swissspidy
  • trunk/wp-includes/version.php

Tests: Update incorrect assertion message added in [57366].

Props david.binda.
Fixes #60358.
Built from https://develop.svn.wordpress.org/trunk@57710

01:00 Changeset [57210] by joedolson
  • trunk/wp-includes/version.php

Code Standards: Fix alignment in tests.

Fix variable alignment in changed tests. Follow-up to [r57708]. Because I edited the wrong local copy when I fixed that.

Props joedolson.
See #34668.
Built from https://develop.svn.wordpress.org/trunk@57709

00:52 Changeset [57209] by joedolson
  • trunk/wp-includes/admin-bar.php
  • trunk/wp-includes/class-wp-admin-bar.php
  • trunk/wp-includes/css/admin-bar-rtl.css
  • trunk/wp-includes/css/admin-bar-rtl.min.css
  • trunk/wp-includes/css/admin-bar.css
  • trunk/wp-includes/css/admin-bar.min.css
  • trunk/wp-includes/js/admin-bar.js
  • trunk/wp-includes/js/admin-bar.min.js
  • trunk/wp-includes/version.php

Toolbar: Accessibility: Keyboard navigation for screen readers.

Change the admin toolbar to have role="menu" and support opening for screen readers. Remove screen reader only log out link and collapse duplicate profile links into one link. This is an imperfect solution to a complex problem in the adminbar, but the lack of screen reader access to submenus is a major accessibility problem, and this fix provides access, even if the mechanism is imperfect.

Screen reader log out added in [21452].

Props abletec, Cheffheid, sabernhardt, alexstine, joedolson, afercia, sparklingrobots, danieltj, swissspidy, netweb, dionysous.
Fixes #34668, #43633.
Built from https://develop.svn.wordpress.org/trunk@57708

02/25/2024:

22:17 Changeset [57208] by peterwilsoncc
  • trunk/wp-includes/functions.php
  • trunk/wp-includes/version.php

Upgrade/Install: Normalize major versions in is_wp_version_compatible().

Modify is_wp_version_compatible() to return the expected result for major WordPress versions formatted as either x.x or x.x.0 (for example 6.5 and 6.5.0).

The WordPress project currently documents major version numbers in both formats leading to confusion for developers using the is_wp_version_compatible() function. As the PHP function version_compare() treats x.x and x.x.0 as different version numbers this leads to unexpected results in the WP function.

This change removes a trailing .0 from major version numbers to account for the WordPress project using the two formats interchangeably.

Props afragen, azaozz, costdev, joemcgill, jorbin, kkmuffme, sessioncookiemonster, swissspidy, wazeter.
Fixes #59448.

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

15:27 Changeset [57207] by SergeyBiryukov
  • trunk/wp-includes/version.php

Tests: Use assertSame() in new_admin_email_subject filter test.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using assertSame() should generally be preferred to assertEquals() where appropriate, to make the tests more reliable.

Follow-up to [57283].

See #59655.
Built from https://develop.svn.wordpress.org/trunk@57706

02/24/2024:

19:30 Changeset [57206] by SergeyBiryukov
  • trunk/wp-includes/version.php

Tests: Use assertSame() in comment_exists() tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using assertSame() should generally be preferred to assertEquals() where appropriate, to make the tests more reliable.

Follow-up to [34456], [34460].

Props costdev.
See #59655.
Built from https://develop.svn.wordpress.org/trunk@57705

09:48 Changeset [57205] by swissspidy
  • trunk/wp-includes/version.php
  • trunk/wp-settings.php

I18N: Do not set translation controller locale in bootstrap.

Removes the WP_Translation_Controller::set_locale() call from wp-settings.php, which happened before the current user was loaded.
That caused translations to be missing when the site locale and user locale were different, as the translation was associated with the wrong locale.

Turns out this call was not needed at all, as the locale will be set/updated when calling load_textdomain() anyway.

Props oglekler.
See #59656.
Built from https://develop.svn.wordpress.org/trunk@57704

Note: See TracTimeline for information about the timeline view.