Skip to content

Conversation

@tu-vu-duy
Copy link
Member

No description provided.

SergeyBiryukov and others added 30 commits November 17, 2025 23:37
…een to “Bulk edit”.

This aims to clarify the action being performed.

Follow-up to [8682], [8857], [8981], [9018], [15491], [48352].

Props antonrinas, SirLouen, johnbillion, karmatosed, SergeyBiryukov.
Fixes #35546.
Built from https://develop.svn.wordpress.org/trunk@61255


git-svn-id: http://core.svn.wordpress.org/trunk@60567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This adds the correct string for performance changes, updates the header images to not have rounded corners, and updates the release badge to use the stylized 6.9 icon.

Props ryelle, peterwilsoncc, westonruter.
See #63941.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Removes the `title` attribute from the `abbr` element in favour of inline text `LCP (Largest Contentful Paint)` to improve accessibility of the phrase as the `title` attribute is often unavailable to assistive technology users.

Props wildworks, ryelle.
See #63941.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Changes can be found at https://github.com/WordPress/gutenberg/commits/wp/6.9/.

- [Block Bindings: Add unit test coverage for `core/post-data` source](WordPress/gutenberg#73055)
- [Block Bindings: Error handling for external sources.](WordPress/gutenberg#72585)
- [Notes: Collapse note on blur](WordPress/gutenberg#73158)
- [Border-radius values triggers unintended px conversion](WordPress/gutenberg#73324)
- [Fix navigation tag entity binding](WordPress/gutenberg#73255)
- [DataViews: ensure primary actions are not wrapped in the list layout](WordPress/gutenberg#73345)
- [Fix: Fit Text may overflow into the padding area.](WordPress/gutenberg#73327)
- [Merge "Icon Size" and "Icon size" translation strings](WordPress/gutenberg#73325)
- [Notes: Improve delete confirm message for replies](WordPress/gutenberg#73173)
- [Fix: Custom font size taking over fit text.](WordPress/gutenberg#73241)
- [Fix a11y of descriptions and alerts for "Invalid" Nav Items](WordPress/gutenberg#73177)
- [Stretchy text: Hide variations in Block Inspector (hack)](WordPress/gutenberg#73238)
- [Update button label from "Add new note" to "Add new reply"](WordPress/gutenberg#73189)
- [Notes: Fix first note creation with pinned sidebar](WordPress/gutenberg#73164)

Developed in WordPress/wordpress-develop#10528.
See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches.

Fixes #64267.
Props priethor.
Built from https://develop.svn.wordpress.org/trunk@61262


git-svn-id: http://core.svn.wordpress.org/trunk@60574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…4.203 to 4.301.

This aims to resolve rendering issues with the backtick character.

Follow-up to [59146].

Props lakshyajeet, jonsurrell.
Fixes #63964.
Built from https://develop.svn.wordpress.org/trunk@61267


git-svn-id: http://core.svn.wordpress.org/trunk@60579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ges are not enabled.

Developed in WordPress/wordpress-develop#10471

Follow-up to [56657].

Props akshat2802, knutsp, shailu25, soyebsalar01, westonruter.
See #57913.
Fixes #64201.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This avoids the REST API erroneously returning an object in the `class_list` property returned by `WP_REST_Posts_Controller::prepare_item_for_response()`.

Developed in WordPress/wordpress-develop#10515

Props dlh, mamaduka, westonruter.
Fixes #64247.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Props huzaifaalmesbah, sabernhardt, westonruter.
See #64224.
Fixes #64262.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…` methods.

Follow-up to [20545], [21037], [21354], [21383], [27497].

Props pmbaldha, nikitasolanki1812, sabernhardt, SergeyBiryukov.
Fixes #63660.
Built from https://develop.svn.wordpress.org/trunk@61271


git-svn-id: http://core.svn.wordpress.org/trunk@60583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ed functions.

This also improves consistency with other themes.

Follow-up to [59146].

Fixes #64265.
See #64226.
Props hbhalodia, huzaifaalmesbah.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Duplicates the `@since 6.9.0` annotation on `esc_url()` to the two wrapper functions affected by the change.

Props peterwilsoncc, westonruter.
Fixes #52886.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [6379], [8669].

Props rutujaparamane2004.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61275


git-svn-id: http://core.svn.wordpress.org/trunk@60587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…nt endpoint for notes.

Fix an issue where notes could be accessed by unauthenticated users by using the single comment REST API endpoint and passing the comment ID (`/wp/v2/comments/<ID>`). This fix only affects the `note` type.

Props adamsilverstein, peterwilsoncc, westonruter.
See #44157.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…p text.

Follow-up to [29484], [29646], [45147].

Props Guido07111975.
Fixes #64289.
Built from https://develop.svn.wordpress.org/trunk@61277


git-svn-id: http://core.svn.wordpress.org/trunk@60589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… the possible object types.

In addition to a meta box being able to be added for a post, it can also be added for a comment or a link, or even nothing at all when on the Dashboard.

Props opr18, nikunj8866, soyebsalar01, westonruter.
See #64224.
Fixes #64251.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…rary help text.

This aims to make the styling of button references more consistent across the help tabs.

Follow-up to [61277].

Props Guido07111975.
Fixes #64289.
Built from https://develop.svn.wordpress.org/trunk@61279


git-svn-id: http://core.svn.wordpress.org/trunk@60591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
What was previously `mixed` is actually a speculation rule which can be more accurately be typed as `array<string, mixed>`. Additionally, the return value of `jsonSerialize` is fixed to indicate it returns an array of lists as opposed an array of associative arrays.

Developed in WordPress/wordpress-develop#8946

Follow-up to [59837].

Props justlevine, johnbillion, westonruter.
See #64238, #63268, #62503.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…link-template.php` functions.

The phpdoc `@return` tags for these functions indicate they may return `null`. This also fixes "Missing return argument" warnings which an IDE may also complain about.

Developed in WordPress/wordpress-develop#8955

Props justlevine.
See #64238.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…get_items()`.

Follow-up to [38832].

Props justlevine, johnbillion.
See #64238.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#8945

Follow-up to [58281].

Props justlevine.
See #64238, #61072.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…in the File block.

Follow-up to [43808].

Props lakshyajeet, truptikanzariya, sabernhardt, sourabhjain, SirLouen, poojapadamad, SergeyBiryukov.
Fixes #59263.
Built from https://develop.svn.wordpress.org/trunk@61284


git-svn-id: http://core.svn.wordpress.org/trunk@60596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Renames the support key to `visibility` to avoid conflicting with the Block Visibility plugin's existing `blockVisibility` key.

Follow-up to [61014].

Props andrewserong, annezazu, cbravobernal, dlh, jorbin, joen, johnjamesjacoby, palak678, ramonopoly, talldanwp, tyxla, wildworks.
Fixes #64272.
Built from https://develop.svn.wordpress.org/trunk@61285


git-svn-id: http://core.svn.wordpress.org/trunk@60597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In [59673], a Grunt subtask was introduced to convert workflow file references in GitHub Action workflows from local ones to remote ones that target the `trunk` branch.

The `workflow-references-local-to-remote` Grunt task should be run after creating a new numbered branch to take advantage of the work started in [58165].

This commit introduces a new target for the `clean` Grunt task: `workflows`. Running `grunt clean:workflows` will delete all workflow files that are not intended to exist outside of `trunk`.

Another Grunt task (`post-branching`) has also been added as a way to group all tasks taht should run within a newly created branch. For now, this contains `clean:workflows` and `replace:workflow-references-local-to-remote`. But more can be added in the future as more aspects of the branching process are automated.

Props johnbillion.
See #64227.
Built from https://develop.svn.wordpress.org/trunk@61286


git-svn-id: http://core.svn.wordpress.org/trunk@60598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Safari only introduced support for alternative text in generated CSS content in version 17.4, released in 2024. This meets the latest two version declared for core browser support. But because `dashicons.css` is commonly required on the front-end for plugins and themes, this support impacts front-end users, and the browser support guidelines for core should not apply in this context.

Follow up to [60885].

Props codex-m, sabernhardt, wildworks, joedolson, desrosj, welcher.
Fixes #64266.
Built from https://develop.svn.wordpress.org/trunk@61290


git-svn-id: http://core.svn.wordpress.org/trunk@60602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…` when dealing with potentially invalid images in `wp_read_image_metadata()`.

Prior to PHP 8.5 a boolean value was silently ignored when being passed to `list()`, but in PHP 8.5 and higher this now triggers a PHP warning. This change adds an appropriate guard condition.

Props swissspidy, adamsilverstein

Fixes #64295

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


git-svn-id: http://core.svn.wordpress.org/trunk@60603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ation.

In testing during the release candidacy for WordPress 6.9 it was found
that the `extract_block()` method may do more work than is expected
based off of its name.

This change renames the method to `extract_full_block_and_advance()` to
communicate that it does move the Block Processor forward and to hint at
the fact that it also encompasses all inner blocks during that advance.

Developed in WordPress/wordpress-develop#10538
Discussed in https://core.trac.wordpress.org/ticket/61401

Follow-up to [60939].

Props dlh, dmsnell, jonsurrell, westonruter.

See #61401.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…tation text.

Follow-up to [43808].

Props nidhidhandhukiya, sainathpoojary, kelvinballoo, ankit-k-gupta, pooja1210, karmatosed, sabernhardt, sandeepdahiya, SergeyBiryukov.
Fixes #58100.
Built from https://develop.svn.wordpress.org/trunk@61295


git-svn-id: http://core.svn.wordpress.org/trunk@60607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* Ensure that `wp_create_category()` returns `int` as opposed to `numeric-string`.
* Rename `$cat_name` to `$category_name` to avoid abbreviating variables.
* Update docblock to remove erroneous `int` for `$category_name` param when only `string` is intended.
* Add missing tests for `wp_create_category()`.

Developed in WordPress/wordpress-develop#8861

Props justlevine, westonruter.
See #64238, #64226.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates various `@var` tags on class properties to correctly indicate that the props may be `null` or unset:

* `WP_Dependencies::$all_queued_deps` is nullable by both `::enqueue()` and `::dequeue`. Also, the types of the keys and values are specified. 
* `WP_Duotone::$global_styles_presets` and `::$global_styles_block_names` start off unset and are only initialized by static classes.
* `WP_Query::init()` and `WP_Rewrite::init()` are public methods that `unset()`s many class props.
* `WP_Theme::cache_delete()` sets many props to `null`.

Developed in WordPress/wordpress-develop#8953

Props justlevine, westonruter.
See #64238, #64224.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
sirreal and others added 30 commits January 23, 2026 17:03
The function is no longer used by WordPress and better alternatives are available: `wp_get_script_tag()` and `wp_get_inline_script_tag()`.

Developed in WordPress/wordpress-develop#10742.

Follow-up to [61415], [61485].

Props jonsurrell, westonruter.
Fixes #64511. See #64442.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure whitespace text nodes are correctly represented by `build_visual_html_tree()`.

The `build_visual_html_tree()` function used by `assertEqualHTML()` would remove some leading whitespace from text nodes. Some whitespace-only text nodes were omitted from the tree.

Developed in WordPress/wordpress-develop#10765.

Follow-up to [60295].

Props jonsurrell, dmsnell, bernhard-reiter.
Fixes #64531.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ore_upgrade()`.

Developed in WordPress/wordpress-develop#10570

Follow-up to [61512], [32642], [32654].

Props rejaulalomkhan, westonruter, huzaifaalmesbah.
See #64224.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#10569

Follow-up to [32642].

Props huzaifaalmesbah, westonruter, noruzzaman.
See #64224.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…_response()`.

Follow-up to [61508].

See #64224.
Built from https://develop.svn.wordpress.org/trunk@61522


git-svn-id: http://core.svn.wordpress.org/trunk@60833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [14760].

Props huzaifaalmesbah.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61523


git-svn-id: http://core.svn.wordpress.org/trunk@60834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [31146], [35021].

Props huzaifaalmesbah.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61524


git-svn-id: http://core.svn.wordpress.org/trunk@60835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix an issue where adding `comment_type=all` as a query parameter to the `wp-admin/edit-comments.php` page would unexpectedly cause notes to show.

Follow-up to [61183].

Props adamsilverstein, jorbin, mukesh27, ozgursar, Presskopp, r1k0, rollybueno, soyebsalar01, westonruter, wildworks.
Fixes #64474.
Built from https://develop.svn.wordpress.org/trunk@61525


git-svn-id: http://core.svn.wordpress.org/trunk@60836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Support for non-HTML5 scripts was removed in [61415]. Removes obsolete tests and references to the non-HTML5 script behaviors including CDATA wrappers and `type` attributes.

Developed in WordPress/wordpress-develop#10740.

Follow-up to [61415].

Props jonsurrell, westonruter, mukesh27.
Fixes #64442.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update custom CSS validation to allow any CSS except `STYLE` close tags. Previously, some valid CSS would be rejected for containing HTML syntax characters, like this example:

{{{
@Property --animate {
  syntax: "<custom-ident>"; /* <-- Validation error on `<` */
  inherits: true;
  initial-value: false;
}
}}}

Developed in WordPress/wordpress-develop#10667.

Follow-up to [61418], [61486].

Props jonsurrell, westonruter, peterwilsoncc, johnbillion, xknown, sabernhardt, dmsnell, soyebsalar01, dlh.
Fixes #64418.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [7043], [7092], [8304], [9053], [21871].

Props huzaifaalmesbah.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61532


git-svn-id: http://core.svn.wordpress.org/trunk@60843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the text color setting on the Written by pattern. The setting was resulting in color contrast that was well below contrast guidelines. Allow the text color to be inherited by default.

Props poena, rinkalpagdar, narenin, sabernhardt, noruzzaman, huzaifaalmesbah, joedolson.
Fixes #62982.
Built from https://develop.svn.wordpress.org/trunk@61534


git-svn-id: http://core.svn.wordpress.org/trunk@60845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This reverts [61010]. Setting the sender address by default has shown to reduce deliverability for emails for sites that were working correctly in 6.8 and before. As reduced deliverability can harm IP reputation which means it's not just the single WordPress install that is harmed, [61010] is being reverted out of an abundance of caution.

Follow up to [61010].

Props jorbin, dmsnell, SirLouen, wildworks, desrosj, siliconforks, digitalblanket, studiomondiale, zoe20, Monarobase, amanandhishoe,
Fixes #64368.See #49687.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [32642], [32654], [34021].

Props huzaifaalmesbah.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61538


git-svn-id: http://core.svn.wordpress.org/trunk@60849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…dating CSSLint, Esprima, HTMLHint, and JSONLint.

This installs npm packages for `codemirror`, `csslint`, `esprima`, `htmlhint`, and `jsonlint` to replace the libraries which had been copied into SVN. A new `grunt build:codemirror` task is responsible for building CodeMirror as part of the build process. This finally revisits the original CodeMirror integration which was originally developed in the [https://github.com/WordPress/better-code-editing/ Better Code Editing] feature plugin in 2017.

||= Package  =||= Old Version        =||= New Version =||
|| codemirror || 5.29.1-alpha-ee20357 || 5.65.20       ||
|| esprima    || 4.0.0                || 4.0.1         ||
|| jsonlint   || 1.6.2                || 1.6.3         ||
|| htmlhint   || 0.9.14-xwp           || 1.8.0         ||

Follow-up to [41376].

Props westonruter, jonsurrell, tobiasbg, desrosj, adamsilverstein, WraithKenny, rafa8626, netweb.
See #12423.
Fixes #48456, #41870.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ssages.

Improve dependency warning messages so that list separators are localized according to the current locale when multiple dependencies are listed.

Follow-up to [61323], [60999], [61357].

Props mukeshpanchal27, jorbin, westonruter, wildworks.
See #64229.
Built from https://develop.svn.wordpress.org/trunk@61542


git-svn-id: http://core.svn.wordpress.org/trunk@60853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The `react-refresh-entry.js` script was bundling its own copy of
`react-refresh/runtime` instead of using the `window.ReactRefreshRuntime`
global set up by `react-refresh-runtime.js`. This created two separate
runtime instances: the entry script set up hooks on its bundled copy, while
plugins called `performReactRefresh()` on the window global — a different
instance with no hooks registered.

This splits the development webpack config into two configs so that
`externals` only applies to the entry script. The runtime config bundles
`react-refresh/runtime` and exposes it as `window.ReactRefreshRuntime`,
while the entry config uses that global as an external.

Props manzoorwanijk, wildworks.
See #64393.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the core configuration to allow JS language features which area already shipping in core via Gutenberg packages. Obsolete `/* jshint esversion: 6 */` comments are also removed from JS files.

Developed in WordPress/wordpress-develop#10808

Follow-up to [59963].

Props westonruter, jonsurrell, mukesh27.
See #63077.
Fixes #64562.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ns in Grunt tasks.

The `uglify:core` and `copy:files` tasks utilized broad negative glob patterns (`!**/*.min.js` and `!**/*.map`) to exclude files from processing. The glob expansion scans the entire `src/` directory tree, including `wp-content`. For environments where `wp-content` contains deep directory structures (such as plugins with `node_modules` dependencies) this traversal becomes prohibitively slow, causing the build process to hang.

This change scopes the exclusion patterns to specific directories (e.g. `wp-admin`, `wp-includes`, default themes, and Akismet), limiting the file scan to relevant core paths and preventing unnecessary recursion into `wp-content`.

In one dev environment, this reduces `npm run build:dev` from 43s to 9s, and `npm run build` from 51s to 13s.

Developed in WordPress/wordpress-develop#10809

Follow up to [61475].

Props westonruter, jonsurrell.
See #63606.
Fixes #64563.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ent when registering a post type.

Props ocean90, mukesh27, johnbillion

See #64224

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


git-svn-id: http://core.svn.wordpress.org/trunk@60857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In [simplepie/simplepie#795 simplepie/simplepie#795] handling of multiple feed requests was deprecated, triggering the message `Fetching multiple feeds with single SimplePie instance is deprecated since SimplePie 1.9.0, create one SimplePie instance per feed and use SimplePie::merge_items to get a single list of items.`

This updates `fetch_feed()` to handle multiple requests using seperate SimplePie instances in order to retain backward compatibility.

A PHP 8.5 deprecation was throwing notices in the event an empty URL was passed to `fetch_feed()`, `Using null as an array offset is deprecated, use an empty string instead`.

This includes a workaround pending the release of a SimplePie version including [simplepie/simplepie#949 simplepie/simplepie#949].

Fixes #64136.
Props audrasjb, jorbin, muryam, oglekler, ozgursar, presskopp, swissspidy, westonruter, wildworks, peterwilsoncc.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ed functions.

This also improves consistency with other themes.

Follow-up to [56716], [61272].

Props huzaifaalmesbah, mukesh27, sabernhardt.
See #64226.
Built from https://develop.svn.wordpress.org/trunk@61552


git-svn-id: http://core.svn.wordpress.org/trunk@60863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…hoisting late-printed styles.

This refactors `wp_hoist_late_printed_styles()` to strictly preserve the classic theme CSS cascade when moving styles from `wp_footer` to the `HEAD`. Previously, hoisted styles were appended in an order closer to the CSS cascade for block themes, potentially causing specificity issues for CSS selectors written for the previous cascade. This is intended to eliminate the need for sites which upgraded to 6.9 to apply a hotfix involving `add_filter( 'should_load_separate_core_block_assets', '__return_false' )` to disable the optimization. 

Key changes:
* Identifies styles enqueued during `enqueue_block_assets`.
* Separates core block styles from third-party block styles.
* Inserts core block styles immediately after `wp-block-library`.
* Inserts third-party block styles after `classic-theme-styles`.
* Inserts `global-styles` after all `enqueue_block_assets` styles.

This ensures the following order is maintained:
1. Core block library.
2. Core block styles.
3. Classic theme styles.
4. Third-party block styles.
5. Global styles.

Developed in WordPress/wordpress-develop#10601

Follow-up to [61174], [61122], [61076], [61008].

Props westonruter, wildworks, jorbin, peterwilsoncc, sabernhardt, audrasjb, pmbs, threadi, madhavishah01, raftaar1191, noruzzaman, ozgursar.
See #64099, #64150, #43258.
Fixes #64354.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
"At a glance" links in the dashboard were labeled with the count of published posts, but linked to the All posts view. Change the links so that they target only the published posts list and update link text to clarify.

Props awardpress, birgire, benpinales, susiyanti, sergeybiryukov, sirlouen, noruzzaman, huzaifaalmesbah, westonruter, nikunj8866, joedolson.
Fixes #43084.
Built from https://develop.svn.wordpress.org/trunk@61555


git-svn-id: http://core.svn.wordpress.org/trunk@60866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [58074], [61486].

Props huzaifaalmesbah, shailu25.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61557


git-svn-id: http://core.svn.wordpress.org/trunk@60868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Reduces the object counts required for Site Health to recommend a persistent object cache in the `Tests_Admin_wpSiteHealth::test_object_cache_thresholds()` data provider.

This is to ensure that the number of objects (terms, posts, etc) are certainly below the defaults created by the test suite during set up. The new threasholds are:

- terms count: 0
- alloptions count: 1
- alloptions bytes: 10

This follows the reduction to the options count threshold to 1 in r61438.

Props peterwilsoncc, swissspidy, wildworks.
Fixes #60831.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensures that when a block style variation declares a blockGap value, the correct layout styles are output for the variation.

Props isabel_brison, aaronrobertshaw.
Fixes #64533.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Adds ability to hide blocks at different screen sizes to the block visibility support.

Props ramonopoly, isabel_brison, westonruter.
Closes #64414.

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


git-svn-id: http://core.svn.wordpress.org/trunk@60876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [25016], [37428], [59009].

Props marian1.
Fixes #64572.
Built from https://develop.svn.wordpress.org/trunk@61566


git-svn-id: http://core.svn.wordpress.org/trunk@60877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When copying block-type assets from Gutenberg to Core, use Node's `fs.cp`
instead of `fs.copy`. The former has much better semantics for wholesale
copies.

Fixes build failures arising from the introduction of subdirectories in the
source directories of certain core block types.

Reviewed by youknowriad.

Fixes #64559.


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


git-svn-id: http://core.svn.wordpress.org/trunk@60878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.