Skip to content

[pull] trunk from WordPress:trunk#10

Open
pull[bot] wants to merge 5347 commits into
kowsar89:trunkfrom
WordPress:trunk
Open

[pull] trunk from WordPress:trunk#10
pull[bot] wants to merge 5347 commits into
kowsar89:trunkfrom
WordPress:trunk

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Feb 20, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

desrosj and others added 27 commits March 16, 2026 21:19
This updates the following GitHub Actions:

- `actions/cache` from `4.3.0` to `5.0.3`.
- `actions/checkout` from `5.0.0` to `6.0.2`.
- `actions/download-artifact` from `7.0.0` to `8.0.1`.
- `actions/setup-node` from `6.0.0` to `6.3.0`.
- `actions/upload-artifact` from `6.0.0` to `7.0.0`.
- `ramsey/composer-install` from `3.1.1` to `4.0.0`.
- `shivammathur/setup-php` from `2.35.3` to `2.37.0`.
- `slackapi/slack-github-action` from `2.1.1` to `3.0.1`.

See #64227.

git-svn-id: https://develop.svn.wordpress.org/trunk@62033 602fd350-edb4-49c9-b593-d223f7449a82
…om `previous_posts()`.

The `esc_url()` function expects to a string for `$url` parameter. There is no input validation within that function. The function contains a `ltrim()` which also expects a string. Passing `null` to this parameter results in `Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated` notice on PHP 8.1+.

Tracing the stack back, a `null` is being passed to it within `previous_posts()` when `get_previous_posts_page_link()` returns `null` (it can return a string or `null`).

On PHP 7.0 to PHP 8.x, an empty string is returned from `esc_url()` when `null` is passed to it. The change in this changeset avoids the deprecation notice by not invoking `esc_url()` when `get_previous_posts_page_link()` returns `null` and instead sets the `$output` to an empty string, thus maintaining the same behavior as before (minus the deprecation notice).

Adds a test to validate an empty string is returned and the absence of the deprecation (when running on PHP 8.1+).

Follow-up to [9632], [11383], [56740].

Props dd32, alexodiy.
Fixes #64864.

git-svn-id: https://develop.svn.wordpress.org/trunk@62034 602fd350-edb4-49c9-b593-d223f7449a82
[61736], [61801], [61082], and [61083] removed the `performance.yml` workflow from the 6.7-6.4 branches as part of #64083.

The workflow also needs to be removed from the workflow responsible for testing old branches to avoid failures when attempting to trigger a `workflow_dispatch` event on a non-existent workflow file.

See #64227, #64083.

git-svn-id: https://develop.svn.wordpress.org/trunk@62035 602fd350-edb4-49c9-b593-d223f7449a82
…nks()`.

Modifies the default settings of `paginate_links()` to only include trailing slashes, eg `example.org/page/2/`, when the permalink settings include a trailing slash. When the permalink settings do not include a slash, neither do the generated links, eg `example.org/page/2`.

This prevents the generated links from hitting a URL that subsequently redirects when the permalink structure does not include a trailing slash.

Props adamsilverstein, ankitkumarshah, audrasjb, hmbashar, huzaifaalmesbah, joedolson, juanmaguitar, krupajnanda, mai21, ozgursar, peterwilsoncc, rahulsprajapati, sirlouen, welcher, westonruter.
Fixes #61393.


git-svn-id: https://develop.svn.wordpress.org/trunk@62036 602fd350-edb4-49c9-b593-d223f7449a82
Prior to this changeset, the WordPress AI Client would handle every exception thrown in the PHP AI Client in the same way, losing meaningful nuance about different kinds of errors along the way.

Now, the `WP_Error` objects returned by the WordPress AI Client come with more helpful error codes, and they include semantic HTTP status codes as well so that they can be used in relevant contexts out of the box, like e.g. the REST API.

Props flixos90, gziolo.
Fixes #64867.
See #64591.


git-svn-id: https://develop.svn.wordpress.org/trunk@62037 602fd350-edb4-49c9-b593-d223f7449a82
Change the line-height of the `button` element for toggling password visibility to center the icon vertically.

Props wildworks, niravsherasiya7707, khushi1501, joedolson.
Fixes #64869.

git-svn-id: https://develop.svn.wordpress.org/trunk@62038 602fd350-edb4-49c9-b593-d223f7449a82
There have been a few places in WordPress where a method creates “an array representation simulating the output of parse_blocks”, but the array is missing one or more keys.

The missing keys cause issue with downstream code, which either treats a block without, for example, `innerBlocks` as invalid input, or more commonly, assumes that `innerBlocks` is present and accesses it unconditionally. This can even lead to crashes.

This patch adds the missing properties so that the code behaves as expected. Since the array values are empty by default, adding these missing keys does not present any intentional behavioral changes — only a safer default.

Developed in: #10735
Discussed in: https://core.trac.wordpress.org/ticket/64505

Follow-up to [47360], [57354].

Props dlh, dmsnell, mukesh27, westonruter.
Fixes #64505.


git-svn-id: https://develop.svn.wordpress.org/trunk@62039 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [44241].

Props Soean, mukesh27.
Fixes #64871.

git-svn-id: https://develop.svn.wordpress.org/trunk@62040 602fd350-edb4-49c9-b593-d223f7449a82
… to an array of query vars.

A string is supported by virtue of `wp_parse_args()` being used on the supplied arguments. While a string is not currently passed to `get_posts()` in core, a significant number of plugins are doing so. So in addition to documenting actual ecosystem usage, this also adds a test to ensure that supplying a query string continues to be supported in the future.

Developed in #11179

Follow-up to r11528.

Props rodrigosprimo, westonruter, shailu25, mukesh27.
See #64224, #10047.
Fixes #64813.


git-svn-id: https://develop.svn.wordpress.org/trunk@62041 602fd350-edb4-49c9-b593-d223f7449a82
This sets 6.9 as the most recent branch of WordPress in the upgrade testing workflows.

Props jorbin.
See #64227, #64235.

git-svn-id: https://develop.svn.wordpress.org/trunk@62042 602fd350-edb4-49c9-b593-d223f7449a82
…field.

This changeset ensures application password is fully shown in the related input field, after the UI changes shipped in 7.0.

Follow-up to [61645].

Props johnbillion, nimeshatxecurify, jsmansart, amin7, huzaifaalmesbah, abdullah17.
Fixes #64738.



git-svn-id: https://develop.svn.wordpress.org/trunk@62043 602fd350-edb4-49c9-b593-d223f7449a82
…is not found.

This changeset applies the existing `network_site_url` filter to the signup link redirect used when the blog is not found.

Props calin, realloc, audrasjb, peterwilsoncc.
Fixes #48323.



git-svn-id: https://develop.svn.wordpress.org/trunk@62044 602fd350-edb4-49c9-b593-d223f7449a82
This changeset removes an unused variable assignment in `edit_term_link()`.

Props soean, mukesh27.
Fixes #64881.



git-svn-id: https://develop.svn.wordpress.org/trunk@62045 602fd350-edb4-49c9-b593-d223f7449a82
This package update fixes two bugs related to parsing function calls and function responses.

See release: https://github.com/WordPress/php-ai-client/releases/tag/1.3.1

See #64591.


git-svn-id: https://develop.svn.wordpress.org/trunk@62046 602fd350-edb4-49c9-b593-d223f7449a82
…tax_query()`.

This prevents a fatal error from `urldecode()` in `wp_basename()` if an array is passed instead.

Follow-up to [15732], [15824], [15825], [15923], [16155], [50565], [60927].

Props patricedefago, alexodiy, SergeyBiryukov.
Fixes #64870.

git-svn-id: https://develop.svn.wordpress.org/trunk@62047 602fd350-edb4-49c9-b593-d223f7449a82
Under `Document-Isolation-Policy: isolate-and-credentialless`, the browser's credentialless mode already handles cross-origin image loading without requiring CORS headers. Explicitly adding `crossorigin="anonymous"` to `<img>` elements overrides this behavior and forces a CORS preflight request, breaking images from servers that don't include `Access-Control-Allow-Origin` in their response headers.

This also removes the related `imagesrcset` handling from `LINK` elements, which had the same issue for `<link>` preload tags for images.

See related Gutenberg issue: WordPress/gutenberg#76476.

Follow-up to [61844], [61846].

Props adamsilverstein, swissspidy.
Fixes #64886.


git-svn-id: https://develop.svn.wordpress.org/trunk@62048 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [61593].

Props jeffpaul, westonruter, gziolo, mukesh27.
Fixes #64587.

git-svn-id: https://develop.svn.wordpress.org/trunk@62049 602fd350-edb4-49c9-b593-d223f7449a82
This updates the following `devDependencies`:

- `@playwright/test` from `1.56.1` to `1.58.2`
- `@pmmmwh/react-refresh-webpack-plugin` from `0.6.1` to `0.6.2`
- `@types/jquery` from `3.5.33` to `3.5.34`
- `@types/underscore` from `1.11.15` to `1.13.0`
- `@wordpress/e2e-test-utils-playwright` from `1.33.2` to `1.41.0`
- `@wordpress/prettier-config` from `4.33.1` to `4.41.0`
- `@wordpress/scripts` from `30.26.2` to `31.6.0`
- `autoprefixer` from `10.4.22` to `10.4.27`
- `cssnano` from `7.1.2` to `7.1.3`
- `dotenv` from `17.2.3` to `17.3.1`
- `grunt-sass` from `~4.0.1` to `~4.1.0`
- `grunt-webpack` from `7.0.0` to `7.0.1`
- `postcss` from `8.5.6` to `8.5.8`
- `qunit` from `~2.24.2` to `~2.25.0`
- `sass` from `1.94.0` to `1.98.0`
- `terser-webpack-plugin` from `5.3.14` to `5.4.0`
- `wait-on` from `9.0.3` to `9.0.4`
- `webpack` from `5.98.0` to `5.105.4`

Props westonruter, jonsurrell, desrosj.
Fixes #64230.

git-svn-id: https://develop.svn.wordpress.org/trunk@62050 602fd350-edb4-49c9-b593-d223f7449a82
The list of files cleaned through `grunt clean` was not updated as part of [61438]. This results in files persisting within `src/wp-includes` even after= they are removed.

Props jorbin.
Fixes #64716. See #64393.

git-svn-id: https://develop.svn.wordpress.org/trunk@62051 602fd350-edb4-49c9-b593-d223f7449a82
The block editor-related files were previously present in the `src` directory and subject to version control. However, [61439] removed them from version control and has broken some workflows and testing setups that run the PHPUnit tests from `src`.	

There is work ongoing to restore those files to version control with their respective change history. But until that happens, this updates the `download.js` script and `gutenberg:download` Grunt task to run `build:gutenberg —dev` every time the build asset is downloaded to ensure the files are present in `src`.

Props mywp459, amykamala, jorbin.
Fixes #64716. See #64393.

git-svn-id: https://develop.svn.wordpress.org/trunk@62052 602fd350-edb4-49c9-b593-d223f7449a82
This updates the following GitHub Actions:
- `actions/cache` from `5.0.3` to `5.0.4`
- `codecov/codecov-action` from `5.5.2` to `5.5.3`

This resolves the final `node20`-related deprecation notices being triggered by GitHub Actions.

See #64227.

git-svn-id: https://develop.svn.wordpress.org/trunk@62053 602fd350-edb4-49c9-b593-d223f7449a82
…UID collisions.

`mt_rand` produces not fully random numbers which makes it so `wp_generate_uuid4` was more likely to produce a uuid which collides with another uuid it produced. This attempts to make those collisions much less likely.

Since `wp_rand` is a pluggable function, it's not loaded until after plugins have been loaded. In order to make it so this function can still be used early, it falls back first to `random_int`, which will throw an exception if it can't find an appropriate source of randomness, and then to the existing, but flawed, `mt_rand`.

Props johnbillion, peterwilsoncc, westonruter, mukesh27, siliconforks, alexodiy, juanmaguitar, audrasjb, joppuyo, jorbin.
Fixes #59239.


git-svn-id: https://develop.svn.wordpress.org/trunk@62054 602fd350-edb4-49c9-b593-d223f7449a82
Add an exclusion for non-minified VIPS files to match the existing filter in `tools/gutenberg/copy.js`. This prevents ~16 MB `worker.js` from being copied alongside the nearly identically-sized `worker.min.js`.

Props adamsilverstein, zieladam, desrosj.
Fixes #64884.



git-svn-id: https://develop.svn.wordpress.org/trunk@62055 602fd350-edb4-49c9-b593-d223f7449a82
Expands the connector ID validation regex from `/^[a-z0-9_]+$/` to `/^[a-z0-9_-]+$/`, aligning with the PHP AI Client library naming conventions. Hyphens are normalized to underscores when generating `setting_name` (e.g., `azure-openai` → `connectors_ai_azure_openai_api_key`).

Developed in #11285.

Props pers, gziolo, jorgefilipecosta, westonruter, flixos90, mukesh27.
Fixes #64861.



git-svn-id: https://develop.svn.wordpress.org/trunk@62056 602fd350-edb4-49c9-b593-d223f7449a82
…n small screens.

This changeset improves the responsiveness of the Application password input field.

Follow-up to [62043].

Props ekla, audrasjb, nimeshatxecurify.
Fixes #64880.



git-svn-id: https://develop.svn.wordpress.org/trunk@62057 602fd350-edb4-49c9-b593-d223f7449a82
See: https://wordpress.slack.com/archives/C07NVJ51X6K/p1773850504196589.

We are intentionally changing the option name so that it will be off-by-default for everyone, including those that installed a beta release where the feature was on-by-default.

Developed in: #11289.

Fixes #64845.
Props czarate, peterwilsoncc, jorbin.

git-svn-id: https://develop.svn.wordpress.org/trunk@62058 602fd350-edb4-49c9-b593-d223f7449a82
…tor of `class-ftp.php`.

This fixes a PHP 8.2 deprecation, by removing the dynamic `$features` property from the ftp class as it is not used anywhere.

Props kmurphyzuora, debarghyabanerjee, hellofromTonya, peter8nss.
Fixes #62159.



git-svn-id: https://develop.svn.wordpress.org/trunk@62059 602fd350-edb4-49c9-b593-d223f7449a82
SergeyBiryukov and others added 30 commits May 3, 2026 22:36
Follow-up to [61646].

Props mohitbsf, wildworks, joedolson, audrasjb, huzaifaalmesbah, SergeyBiryukov.
Fixes #64689.

git-svn-id: https://develop.svn.wordpress.org/trunk@62295 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [61827], [62171].

Props wildworks, mukesh27, audrasjb, SergeyBiryukov.
Fixes #64685.

git-svn-id: https://develop.svn.wordpress.org/trunk@62296 602fd350-edb4-49c9-b593-d223f7449a82
…e new pattern.

This aims to make the test suite directory and file structure more intuitive for new contributors to work with, as well as follow the PHPUnit recommended test class name pattern with having `Test` as the end of the class name.

Follow-up to [58396], [61407].

See #53010.

git-svn-id: https://develop.svn.wordpress.org/trunk@62297 602fd350-edb4-49c9-b593-d223f7449a82
Prevent Real-Time Collaboration sessions from becoming out of sync when an offline editor returns to an online state. The change ensures that the updates are merged rather than discarded when each client is at a different cursor after reconnecting or experiencing slow network conditions.

Props alecgeatches, peterwilsoncc, maxschmeling, joefusco.
See #64622.


git-svn-id: https://develop.svn.wordpress.org/trunk@62298 602fd350-edb4-49c9-b593-d223f7449a82
Clarify the purpose of the `wp_register_custom_css_support` function. "Removing styles.css" is technically correct, but the comment didn't explain the "why" in plain language.

Props audrasjb, ramonopoly, peterwilsoncc.

Follow-up to [64771].



git-svn-id: https://develop.svn.wordpress.org/trunk@62299 602fd350-edb4-49c9-b593-d223f7449a82
Akismet is bundled with WordPress core, but it wasn't appearing on the Connectors screen even when present on the file system.

Partially reverts [62210], bringing back the main part of [62193].
Follow-up to [62210], [62193].
Developed in #11688.

Props audrasjb, bluefuton, davidbaumwald, desrosj, eclev91, gziolo, johnbillion, jorbin, jorgefilipecosta, lukecarbis, matt, matveb, peterwilsoncc, westonruter.
See #65012.

git-svn-id: https://develop.svn.wordpress.org/trunk@62310 602fd350-edb4-49c9-b593-d223f7449a82
…sions to avoid post loss.

When an RTC session in the editor saves edits on a draft post, they always save into an autosave revision. This prevents a sync but where storing to the post itself would lead to duplicate edits. This was set in wordpress/gutenberg commit 9df142b839320316b406ee1a02e23704d42f8719. However, there is an exception to this rule: the first session to save edits needs to promote the autosave revision into a real draft post, if a post doesn’t exist. The reason is that WordPress hides autosaves.

That is, multiple people could be editing a draft post and then once they close it, never be able to find it again. While the data is still in the database, this is a loss of the post from a practical standpoint.

This change introduces an exception where the first time a collaborative session is saving draft edits, the autodraft is promoted to a real draft post, making it visible in the post list.

AI Disclaimer: This bug was detected in a fuzzing system built by AI models and the fix was first proposed by an AI model.

Developed in: WordPress/gutenberg#77865
Discussed in: https://core.trac.wordpress.org/ticket/65138
See also: WordPress/gutenberg#77716

Follow-up to [61680].
Props danluu, dmsnell.
See #65138.


git-svn-id: https://develop.svn.wordpress.org/trunk@62311 602fd350-edb4-49c9-b593-d223f7449a82
Props shailu25, audrasjb, timse201, sanketparmar.
Fixes #64983.


git-svn-id: https://develop.svn.wordpress.org/trunk@62312 602fd350-edb4-49c9-b593-d223f7449a82
…pattern.

This aims to make the test suite directory and file structure more intuitive for new contributors to work with, as well as follow the PHPUnit recommended test class name pattern with having `Test` as the end of the class name.

Follow-up to [434/tests], [57283].

See #53010.

git-svn-id: https://develop.svn.wordpress.org/trunk@62313 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to r62313.

See #53010.



git-svn-id: https://develop.svn.wordpress.org/trunk@62314 602fd350-edb4-49c9-b593-d223f7449a82
Swap the default and hover color rules for admin bar icons on mobile so icons use `$menu-icon` by default and `$menu-submenu-focus-text` on hover.

Props sabernhardt, peterwilsoncc, wildworks.
Fixes #65140.

git-svn-id: https://develop.svn.wordpress.org/trunk@62317 602fd350-edb4-49c9-b593-d223f7449a82
This updates the JavaScript based regular expression to be case-insensitive, which matches the corresponding PHP pattern.

A defensive check has alos been added to avoid a `TypeError` if the admin bar is manipulated in a way that changes the path of the targeted element.

Follow up to [62282].

Props westonruter.
Fixes #65121.

git-svn-id: https://develop.svn.wordpress.org/trunk@62320 602fd350-edb4-49c9-b593-d223f7449a82
In [61458], a `postinstall` script was introduced that ensured the source code from the `gutenberg` repository was present before attempting to run the build script.

The WordPress.org Hosting Tests surfaced an edge case where the `postinstall` script was failing when `nodevenv` is used. Because it serves as a wrapper for Node.js, `NPM_CONFIG_PREFIX` is set to the virual envirnoment directory and not the actual project source directory.

This removes `gutenberg:verify` from `postinstall` entirely. `gutenberg:verify` is responsible for confirming that the `gutenberg` directory exists, that the commit SHA value in `gutenberg/.gutenberg-hash` matches `gutenberg.sha` in the `package.json` file, and it downloads a fresh copy if not.

While this will result in the necessary files not being present locally after running `npm install`, `gutenberg:verify` is specified as the first task executed when the `build` and `build:dev` scripts are run. Running either build script has been a requirement to run WordPress locally for some time now, so this does not introduce a new required step. It simply delays when the built asset will be retrieved from the GitHub Container Registry when necessary.

`postinstall` scripts should also be avoided entirely due to their significantly insecure nature (see #64543).

Follow up to [61492], [61873], and [62021].

Props jorbin, johnbillion.
Fixes #64874. See #64393, #64543.

git-svn-id: https://develop.svn.wordpress.org/trunk@62321 602fd350-edb4-49c9-b593-d223f7449a82
Props timse201, audrasjb, sanketparmar.
Fixes #64984.


git-svn-id: https://develop.svn.wordpress.org/trunk@62324 602fd350-edb4-49c9-b593-d223f7449a82
[61757] wrapped the media attachment filters, which changed the return value of toolbar filters from `AttachmentFilters` to a `wp.media.View` instance, breaking the API to customize media library filters.

Reverts the shape change in the attachment filter return value and implements CSS based positioning for the visible labels.

Props bernhard-reiter, joedolson, ozgursar, audrasjb, darshitrajyaguru97, jorbin.
Fixes #64948.

git-svn-id: https://develop.svn.wordpress.org/trunk@62326 602fd350-edb4-49c9-b593-d223f7449a82
…new pattern.

This aims to make the test suite directory and file structure more intuitive for new contributors to work with, as well as follow the PHPUnit recommended test class name pattern with having `Test` as the end of the class name.

Follow-up to [34456].

Props poena.
See #53010.

git-svn-id: https://develop.svn.wordpress.org/trunk@62328 602fd350-edb4-49c9-b593-d223f7449a82
Replace `file_exists()` with `validate_plugin()` in the connectors script module data, and refine PHPStan type definitions in the connectors code to better reflect the actual shape of registered connector data.

Follow-up to [62288].

Props jorgefilipecosta, mukesh27, peterwilsoncc, westonruter, wildworks.
See #65020.

git-svn-id: https://develop.svn.wordpress.org/trunk@62332 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`.

The following changes are included:

- RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966)
- Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989)
- Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904)
- Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068)
- Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916)
- Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110)
- RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853)
- contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119)
- Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103)
- Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122)
- Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170)
- Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116)
- Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174)
- Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120)
- Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251)
- Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864)
- RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939)
- Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325)
- Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311)
- Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336)
- Test: Connectors Point to the righ page. (WordPress/gutenberg#77272)
- Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361)
- Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254)
- Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650)
- Add heading level 1 for the fonts page (WordPress/gutenberg#77482)
- Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661)
- RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242)
- RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631)
- RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043)
- RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947)
- RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529)
- Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234)
- Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713)
- Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581)
- Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699)
- Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967)
- Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478)
- Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660)
- Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689)
- Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638)
- RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706)
- Connectors: keep focus on action Button during install (WordPress/gutenberg#77544)
- Added Translator Context for Reply (WordPress/gutenberg#77891)
- Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126)
- Core Data: Treat single-item responses specially (WordPress/gutenberg#76318)
- Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957)
- RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980)
- RTC: Fix compaction unit test (WordPress/gutenberg#77986)
- Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857)
- Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043)
- Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273)
- Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897)
- RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675)
- RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053)
- i18n: add context to scale (WordPress/gutenberg#76917)
- Revisions: Simplify fetching (WordPress/gutenberg#77086)
- e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923)
- Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070)
- Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904)
- Revision: Fix failing e2e test (WordPress/gutenberg#78079)
- Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085)

A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914.

Log created with:

git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy

See #64595.

git-svn-id: https://develop.svn.wordpress.org/trunk@62333 602fd350-edb4-49c9-b593-d223f7449a82
Removes all RTC related code from core. There will still be RTC related code in Gutenberg, but effectively disabled for core since nothing turns it on. The wp.sync global has also been hidden by bundling in WordPress/gutenberg#78085.

Developed in: #11774.

Props maxschmeling, ellatrix, mukesh27.
Fixes #65205.

git-svn-id: https://develop.svn.wordpress.org/trunk@62334 602fd350-edb4-49c9-b593-d223f7449a82
Props desrosj.
See #65205.

git-svn-id: https://develop.svn.wordpress.org/trunk@62337 602fd350-edb4-49c9-b593-d223f7449a82
…e data.

Adds an `isFileModDisabled` boolean — derived from `wp_is_file_mod_allowed(   'install_plugins' )` — to the data exposed via the `script_module_data_options-connectors-wp-admin` filter, so the connectors UI can adapt when file modifications are disabled.

Props jorgefilipecosta, westonruter, jeffpaul.
See #65209.

git-svn-id: https://develop.svn.wordpress.org/trunk@62341 602fd350-edb4-49c9-b593-d223f7449a82
…ructure.

This aims to make the test suite directory and file structure more intuitive for new contributors to work with, as well as follow the PHPUnit recommended test class name pattern with having `Test` as the end of the class name.

Follow-up to [61407], [62096], [62297], [62313], [62328].

See #65208.

git-svn-id: https://develop.svn.wordpress.org/trunk@62342 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [44735].

Props pbearne.
Fixes #65203.

git-svn-id: https://develop.svn.wordpress.org/trunk@62343 602fd350-edb4-49c9-b593-d223f7449a82
This bumps the version for the upcoming release WordPress 7.0.
Twenty Ten: 4.6.
Twenty Eleven: 5.1.
Twenty Twelve: 4.8.
Twenty Thirteen: 4.6.
Twenty Fourteen: 4.5.
Twenty Fifteen: 4.2.
Twenty Sixteen: 3.8.
Twenty Seventeen: 4.1.
Twenty Nineteen: 3.3.
Twenty Twenty: 3.1.
Twenty Twenty-One: 2.8.
Twenty Twenty-Two: 2.1.
Twenty Twenty-Three: 1.6.
Twenty Twenty-Four: 1.5.
Twenty Twenty-Five: 1.5.

Props sabernhardt, shailu25, audrasjb.
Fixes #64817.


git-svn-id: https://develop.svn.wordpress.org/trunk@62344 602fd350-edb4-49c9-b593-d223f7449a82
…les()`.

Follow-up to [43376].

Props pbearne.
Fixes #65202.

git-svn-id: https://develop.svn.wordpress.org/trunk@62345 602fd350-edb4-49c9-b593-d223f7449a82
…raft_page_titles()` tests.

This resolves a WPCS warning:
{{{
Array double arrow not aligned correctly
}}}

Follow-up to [62345].

Props peterwilsoncc.
See #65202.

git-svn-id: https://develop.svn.wordpress.org/trunk@62346 602fd350-edb4-49c9-b593-d223f7449a82
`to_ruleset` used string concatenation (`$element['name'] . ': ' . $element['value'] . ';'`), so PHP implicitly coerced non-string values (e.g. booleans → `'1'`/`''`, arrays → `'Array'`). That could emit invalid or misleading CSS.

At the same time, pass a `style` theme.json path in `test_get_styles_with_appearance_tools()` to simulate a style node. Before it was `settings`.

Props ramonopoly, andrewserong, isabel_brison.

Fixes #64848.

 --This line, and those below, will be ignored--

M    src/wp-includes/class-wp-theme-json.php
M    tests/phpunit/tests/theme/wpThemeJson.php


git-svn-id: https://develop.svn.wordpress.org/trunk@62347 602fd350-edb4-49c9-b593-d223f7449a82
Reverts r62347. The fix the patch proposes is destined for 7.1. There is a general block for such patches until the 7.0 general release.

Props ramonopoly, andrewserong, westonruter.

See #64848.



git-svn-id: https://develop.svn.wordpress.org/trunk@62348 602fd350-edb4-49c9-b593-d223f7449a82
The implementation issues a server-side HTTP request on every front-end page load and extracts the toolbar CSS via fragile substring matching. Alternatives are too large to land this late in the release cycle, so the fix is deferred to a future release.

Reverts [62025].

Props desrosj, jorbin, mukesh27, sabernhardt, wildworks.

See #64762.

git-svn-id: https://develop.svn.wordpress.org/trunk@62349 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [26428], [26549].

Props pbearne.
Fixes #65200.

git-svn-id: https://develop.svn.wordpress.org/trunk@62351 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.