[pull] trunk from WordPress:trunk#1982
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @desrosj602fd350-edb4-49c9-b593-d223f7449a82, @felixarntz. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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
A full list of changes can be found on GitHub: jashkenas/underscore@1.13.7...1.13.8. Props jonsurrell. Fixes #64891. git-svn-id: https://develop.svn.wordpress.org/trunk@62060 602fd350-edb4-49c9-b593-d223f7449a82
This dependency is responsible for transforming some JSON files to PHP ones. But since this is not included in the distributed software, it should not be specified as a `dependency`. Props nimeshatxecurify, royhridoy, phpbits, dilip2615, noruzzaman. Fixes #64221. git-svn-id: https://develop.svn.wordpress.org/trunk@62061 602fd350-edb4-49c9-b593-d223f7449a82
After [61438] the block editor-related code maintained in the `gutenberg` repository is no longer managed using npm dependencies. The `sync-gutenberg-packages` and `postsync-gutenberg-packages` scripts were specifically meant to manage the update process for those packages, so they’re no longer needed. Props youknowriad, mamaduka, SirLouen, jtquip88. Fixes #62839. See #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62062 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `8c78d87453509661a9f28f978ba2c242d515563b` to `487a096a9782ba6110a7686d7b4b2d0c55ed1b06`. The following changes are included: - Disables anchor support for the Page Break block. (WordPress/gutenberg#76434) - WP Admin: Update Connectors screen footer text for consistency. (WordPress/gutenberg#76382) - E2E Tests: Add coverage for AI plugin callout banner on Connectors page (WordPress/gutenberg#76432) - Update sync docs (WordPress/gutenberg#75972) - RTC: Add preference for collaborator notifications (WordPress/gutenberg#76460) - Fix "should undo bold" flaky test (WordPress/gutenberg#76464) - TimePicker: Clamp month day to valid day for month (WordPress/gutenberg#76400) - RTC: Fix error when entity record doesn't have 'meta' property (WordPress/gutenberg#76311) - Navigation: Update close button size. (WordPress/gutenberg#76482) - TemplateContentPanel: fix useSelect warning (WordPress/gutenberg#76421) - DataViews: Add spinner in `DataViewsLayout` in initial load of data (WordPress/gutenberg#76486) (WordPress/gutenberg#76490) - RTC: Fix TypeError in areEditorStatesEqual when selection is undefined (WordPress/gutenberg#76163) - Page/Post Content Focus Mode: Fix insertion into Post Content block (WordPress/gutenberg#76477) - Revisions: use useSubRegistry={false} to fix global store selectors (WordPress/gutenberg#76152) (WordPress/gutenberg#76522) - Fix RTL styling on Connectors, Font Library, and boot-based admin pages (WordPress/gutenberg#76496) - RTC: Auto-register custom taxonomy rest_base values for CRDT sync (WordPress/gutenberg#75983) - RTC: Add a limit for the default provider (WordPress/gutenberg#76437) - Fix RTL styling on AI plugin callout banner (WordPress/gutenberg#76497) - Add command palette trigger button to admin bar (WordPress/gutenberg#75757) - Block Bindings: Remove source items constrained by enums (WordPress/gutenberg#76200) - HTML Block: Remove "unsaved changes" check (WordPress/gutenberg#76086) - CI: Don't build release notes during plugin build workflow for WP Core sync (WordPress/gutenberg#76398) (WordPress/gutenberg#76578) - CI: Simplify strategy matrix in Build Gutenberg Plugin Zip workflow (WordPress/gutenberg#76435) (WordPress/gutenberg#76538) - Media: Add hooks and extension points for client-side media processing (WordPress/gutenberg#74913) - RTC: Fix list sidebar reset during real-time collaboration (WordPress/gutenberg#76025) - RTC: Fix CRDT serialization of nested RichText attributes (WordPress/gutenberg#76597) - RTC: Remove post list lock icon and replace user-specific lock text (WordPress/gutenberg#76322) - Fix HEIC upload error handling and sub-size format (WordPress/gutenberg#76514) - RTC: Fix cursor index sync with rich text formatting (WordPress/gutenberg#76418) - RTC: Allow filtering of `SyncConnectionModal` (WordPress/gutenberg#76554) - RTC: Implement front-end peer limits (WordPress/gutenberg#76565) - Navigation overlay close button may be displayed twice (WordPress/gutenberg#76585) - Site Editor > Templates: fix author filter (WordPress/gutenberg#76625) - Revisions: Show changed block attributes in inspector sidebar (WordPress/gutenberg#76550) - Fix IS_GUTENBERG_PLUGIN env var override in build config (WordPress/gutenberg#76605) - Real Time Collaboration: Introduce filters for the polling intervals. (WordPress/gutenberg#76518) - RTC: Fix RichTextData deserialization (WordPress/gutenberg#76607) - Cross Origin Isolation: Remove `img` from the list of elements that get mutated (WordPress/gutenberg#76618) - RTC: Scroll to collaborator on click (WordPress/gutenberg#76561) - Update changelog link for pull request 11276 (WordPress/gutenberg#76638) - Fix backport changelog filename (WordPress/gutenberg#76651) - Build: Skip non-minified build for WASM-inlined workers (WordPress/gutenberg#76615) - RTC: Change RTC option name (WordPress/gutenberg#76643) - BlockListBlock: fix crash when selectedProps are null (WordPress/gutenberg#75826) - Build: Fix vips worker 404 when SCRIPT_DEBUG is true (WordPress/gutenberg#76657) - useMediaQuery: support in-iframe queries via new `WindowContext` (WordPress/gutenberg#76446) (WordPress/gutenberg#76660) - Refactor admin-ui Page component to use @wordpress/theme tokens and @wordpress/ui layout primitive (WordPress/gutenberg#75963) - Connectors: Improve accessibility (WordPress/gutenberg#76456) - Build: Remove unused JXL WASM module from vips worker (WordPress/gutenberg#76639) - Connectors: fix button size (WordPress/gutenberg#76582) - Compose: Implement useCopyToClipboard and useCopyOnClick with native clipboard API (WordPress/gutenberg#75723) (WordPress/gutenberg#76663) - Connectors: Fetch specific plugin instead of all plugins (WordPress/gutenberg#76594) - Revisions: Add Meta fields diff panel to document sidebar (WordPress/gutenberg#76341) - Loosen client-side media processing requirements (WordPress/gutenberg#76616) - Reduce the added halo for selected block. (WordPress/gutenberg#76619) - Connectors: Add unregisterConnector and upsert support (WordPress/gutenberg#76541) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/8c78d87453509661a9f28f978ba2c242d515563b…487a096a9782ba6110a7686d7b4b2d0c55ed1b06. Log created with: git log --reverse --format="- %s" 8c78d87453509661a9f28f978ba2c242d515563b..487a096a9782ba6110a7686d7b4b2d0c55ed1b06 | 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@62063 602fd350-edb4-49c9-b593-d223f7449a82
See also: #11067. Developed in: #11292. Fixes #64887. Props czarate, westonruter, mindctrl, peterwilsoncc, joefusco. git-svn-id: https://develop.svn.wordpress.org/trunk@62064 602fd350-edb4-49c9-b593-d223f7449a82
…ty_has_correct_type()`. Follow-up to [56835]. Props marian1, mukesh27. Fixes #64584. git-svn-id: https://develop.svn.wordpress.org/trunk@62065 602fd350-edb4-49c9-b593-d223f7449a82
This removes a redundant ternary that no longer affects the logic after the `esc_url()` call on the tag URL was moved to the output in an earlier revision. Follow-up to [9518], [11383], [32996]. Props Soean. See #64898. git-svn-id: https://develop.svn.wordpress.org/trunk@62066 602fd350-edb4-49c9-b593-d223f7449a82
…ures. This includes a `WP_AI_SUPPORT` constant and a `wp_supports_ai` filter. When false, - `_wp_connectors_get_provider_settings()` will return an empty array (short-circuiting the other functionality). - `WP_AI_Client_Prompt_Builder()` will short-circuit the construction with a `WP_Error()`. `wp_ai_client_prompt()` will still return an instance, to allow for fluidity to remain intact. Priority: `WP_AI_SUPPORT` > `add_filter( 'wp_supports_ai', ...) > (default: true)` Follow-up to [61943], [61749], [61943]. Props justlevine, westonruter, gziolo, flixos90, romainmrhenry, ahortin, chrismcelroyseo, SergeyBiryukov. See #64706. git-svn-id: https://develop.svn.wordpress.org/trunk@62067 602fd350-edb4-49c9-b593-d223f7449a82
…s()`. Replace the previous generic concatenation logic in `get_block_wrapper_attributes()` with attribute-specific merge behavior: - Add explicit merge callbacks for each attribute. - Merge style values safely, normalize trailing semicolons, and sanitize the result. - Merge class values with deduplication . - Treat id and aria-label as override attributes, giving precedence to explicitly passed extra attributes. Props adrock42, mamaduka, r1k0, westonruter, wildworks. Fixes #64603. git-svn-id: https://develop.svn.wordpress.org/trunk@62068 602fd350-edb4-49c9-b593-d223f7449a82
Seemingly as a side effect of [61438], the built code base contains a number of files and directories that have been moved or removed. `grunt clean` was updated to be aware of the newly expected files in [62051], but the `clean` tasks required to ensure a pristine working state are not run prior to `build`. This runs the `clean --dev` task is run immediately before `grunt build` runs as an attempt to clean up these files by ensuring a clean `src` directory. Props jorbin. See #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62069 602fd350-edb4-49c9-b593-d223f7449a82
… encountering an invalid one Change `return` to `continue` in `data_wp_bind_processor` so that when an element has multiple `data-wp-bind` directives and one is invalid (empty suffix or unique ID), the invalid entry is skipped instead of causing the entire function to exit, allowing valid directives on the same element to still be processed. Props DAreRodz, ozgursar, alexodiy. Fixes #64518. git-svn-id: https://develop.svn.wordpress.org/trunk@62070 602fd350-edb4-49c9-b593-d223f7449a82
This removes some configuration settings and the `copyDirectory()` function. These files are copied by `grunt copy` as of [61873]. Props peterwilsoncc. See #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62071 602fd350-edb4-49c9-b593-d223f7449a82
The generated `wp-includes/assets/script-loader-packages.min.php` and `wp-includes/assets/script-modules-packages.min.php` files are not actually minified. Additionally, the only purpose they serve is to pass a different script handle to the script loader (`.min.js` vs. `.js`). This eliminates the need for those files entirely since the difference in file size is negligible, and a human-readable version is more useful. Props peterwilsoncc, desrosj. Fixes #64909. git-svn-id: https://develop.svn.wordpress.org/trunk@62072 602fd350-edb4-49c9-b593-d223f7449a82
The `index.min.asset.php` file for each script bundled through the built asset from the `gutenberg` repository contains the `dependencies` and `version` hash for each script. These values are merged into the `script-loader-packages.php` file during a `build`, so the original PHP files are not required. Props peterwilsoncc, desrosj. Fixes #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62073 602fd350-edb4-49c9-b593-d223f7449a82
…specific lock text when RTC is enabled. When RTC is enabled, the post list should not show an exclusive lock icon or user-specific lock text since multiple users can collaboratively edit the same post. Merges a fix from Gutenberg: WordPress/gutenberg#76322. Developed in: #11234. See #64622. Props maxschmeling, czarate, mcsf, shekharnwagh. git-svn-id: https://develop.svn.wordpress.org/trunk@62074 602fd350-edb4-49c9-b593-d223f7449a82
This provides an easy way at config level to disable real-time collaboration. Developed in: #11311. See #64904. Props alecgeatches, ingeniumed, zieladam, peterwilsoncc, tyxla. git-svn-id: https://develop.svn.wordpress.org/trunk@62075 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `487a096a9782ba6110a7686d7b4b2d0c55ed1b06` to `2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d`. The following changes are included: - RTC: Backport race condition fix (WordPress/gutenberg#76649) - Fix navigation block rendering unit test (WordPress/gutenberg#76685) - Hide Additional CSS controls when block is inside contentOnly editing mode (WordPress/gutenberg#76512) - RTC: Increase polling intervals, increase polling on primary room only (WordPress/gutenberg#76704) - Navigation: Avoid List View changing position when navigation block saves (WordPress/gutenberg#76659) - Fix navigation block unit test and e2e test (WordPress/gutenberg#76692) - Fix locked content when switching to a different template without exiting 'Edit pattern' (WordPress/gutenberg#76710) - Metabox: Fix checkbox style in sidebar (WordPress/gutenberg#76718) - Stop keeping stale controlled blocks after reset (WordPress/gutenberg#76591) - Gate client-side media processing as plugin-only (WordPress/gutenberg#76700) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/487a096a9782ba6110a7686d7b4b2d0c55ed1b06…2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d. Log created with: git log --reverse --format="- %s" 487a096a9782ba6110a7686d7b4b2d0c55ed1b06..2ee7ede6be6d4e55d5c7047394c5c4e0ea8d521d | 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@62076 602fd350-edb4-49c9-b593-d223f7449a82
This makes several changes to the build script to place the icon library files into more appropriate locations. - The icon library SVG files are now copied into the `wp-includes/images/icon-library` directory instead of `wp-includes/icons`. - The name of the `manifest.php` file has changed to `icon-library-manifest.php` and is now copied to `wp-includes/assets`. - An unnecessary `trailingslashit()` has been removed. - The `gutenberg-` prefix for the corresponding `grunt copy` tasks has been removed. These values are merged into the `script-loader-packages.php` file during a `build`, so the original PHP files are not required. Props mcsf, desrosj. See #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62077 602fd350-edb4-49c9-b593-d223f7449a82
…riting options. The `WP_ALLOW_COLLABORATION` constant was introduced in [62075] to support disabling RTC at the host level or at the wp-config.php level. A part of that commit is about hiding the "Enable RTC" checkbox in the writing options when RTC is explicitly disallowed via the constant. This commit fixes an error in the condition to hide that checkbox. Props zieladam, tyxla. See #64904. git-svn-id: https://develop.svn.wordpress.org/trunk@62078 602fd350-edb4-49c9-b593-d223f7449a82
The `registry.php` file within the built assets from the `gutenberg` repository contains an accurate list of active, stable routes. However, the `build/routes/` directory has the JavaScript and PHP files for all routes, regardless of their status. This makes adjustments to the `grunt copy` tasks responsible for copying these files into the appropriate locations to extract the list of routes specified in the `registry.php` file so that only the required files are copied. See #64393. git-svn-id: https://develop.svn.wordpress.org/trunk@62079 602fd350-edb4-49c9-b593-d223f7449a82
Should any scripts contain calls to `import()`, the browser won't be able to resolve bare import specifiers unless the import map is already in the DOM. Thus, rather than rely on hook registration order, which is fallible, ensure that the newer callback `WP_Script_Modules::print_import_map` (since 6.5.0) has a lower priority than `_wp_footer_scripts`. Reviewed by jonsurrell. Props mlaetitia. Fixes #64907. git-svn-id: https://develop.svn.wordpress.org/trunk@62080 602fd350-edb4-49c9-b593-d223f7449a82
Punt the wasm-vips client-side media processing feature to a future release when it can include more features. The VIPS WASM worker adds too much build size overhead for the current value provided. Removes all PHP functions, REST API endpoints, cross-origin isolation infrastructure, VIPS script module handling, build configuration, and associated tests. Props adamsilverstein, jorbin. Fixes #64906. git-svn-id: https://develop.svn.wordpress.org/trunk@62081 602fd350-edb4-49c9-b593-d223f7449a82
The client-side media processing removal emptied these files instead of deleting them, causing PHPCS coding standards failures. Follow-up to [62081]. Props adamsilverstein. See #64906. git-svn-id: https://develop.svn.wordpress.org/trunk@62082 602fd350-edb4-49c9-b593-d223f7449a82
Only the most recent innovation release should be tested. Follow up to [61875]. See #64227. git-svn-id: https://develop.svn.wordpress.org/trunk@62083 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
Follow-up to [48412]. Props pbearne. Fixes #65186. git-svn-id: https://develop.svn.wordpress.org/trunk@62352 602fd350-edb4-49c9-b593-d223f7449a82
…"Preview". This changeset disambiguates translation strings for "Preview" by adding a verb|noun context to its occurrences. Props timse201, audrasjb, anupkankale, mohamedahamed, rafaeldella, motylanogha, wildworks, jorbin, khokansardar, sergeybiryukov. Fixes #64986. git-svn-id: https://develop.svn.wordpress.org/trunk@62353 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [44275]. Props pbearne. Fixes #65199. git-svn-id: https://develop.svn.wordpress.org/trunk@62356 602fd350-edb4-49c9-b593-d223f7449a82
The delete button on the Edit Tag screen was misaligned after the form control updates in [61645]. Switch the action buttons row to a flexbox layout for stable alignment. Follow-up to [61645]. Props mukesh27, tusharbharti, wildworks. Fixes #65233. git-svn-id: https://develop.svn.wordpress.org/trunk@62357 602fd350-edb4-49c9-b593-d223f7449a82
This updates the upgrade testing workflows to test against RC3. After 7.0 final release, this should be updated to test `7.0` proper. Fixes #64966. git-svn-id: https://develop.svn.wordpress.org/trunk@62358 602fd350-edb4-49c9-b593-d223f7449a82
…om CSS rendering. Short-circuits the custom CSS support filter before the more expensive lookups so blocks without custom CSS return faster. Replaces the regex class name parsing in `wp_render_custom_css_class_name()` with a cheap `str_contains()` guard followed by an HTML spec-compliant `strtok()` walk over the className tokens. This avoids the regex engine for the common case where no `wp-custom-css-` class is present, and correctly handles tab/form-feed/CR/LF separators as well as classes such as `my-wp-custom-css-*` that merely contain the prefix as a substring after a hyphen. Also hardens both functions against malformed parsed blocks (non-string `className`, missing keys), tightens `@phpstan-param` array shapes, and corrects the `block_has_support()` `@param` to allow `WP_Block_Type|null`. Lastly, a `@return Generator<int, non-empty-string>` phpdoc tag is added to `WP_HTML_Tag_Processor::class_list()`. Developed in #11686 and WordPress/gutenberg#78217 Follow-up to r61678. Props mukesh27, westonruter, ramonopoly, jonsurrell. See #64544, #64238. git-svn-id: https://develop.svn.wordpress.org/trunk@62359 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `c15cef1d6b07f666df28dac0383bafb0edfe0914 ` to `3a4e8d1418d25da83b70158bcaabf65580690b6b`. The following changes are included: - [WP.7.0] Admin UI: Backport accessibility fixes (WordPress/gutenberg#77617, WordPress/gutenberg#78001) (WordPress/gutenberg#78002) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Add backport for WP_ALLOW_COLLABORATION (WordPress/gutenberg#78160) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Connectors: Replace @wordpress/ui Link and Notice usage (WordPress/gutenberg#78117) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78201) - Connectors: Restyle AI plugin callout with pastel background and beaker decoration (WordPress/gutenberg#78243) - Block supports: Optimize custom CSS class rendering and parsing (WordPress/gutenberg#78217) - Block Inspector: Hide Styles tab in preview mode (WordPress/gutenberg#78230) - Navigation Link: Preserve custom labels during link updates (WordPress/gutenberg#77186) - Editor: Fix Visual Revisions meta keys overlap (WordPress/gutenberg#78156) - Editor: Disable Visual Revisions when classic meta boxes are present (WordPress/gutenberg#78249) (WordPress/gutenberg#78286) - Revisions: Scale diff markers width with user text-size preference (WordPress/gutenberg#78273) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/c15cef1d6b07f666df28dac0383bafb0edfe0914…3a4e8d1418d25da83b70158bcaabf65580690b6b. Log created with: `git log --reverse --format="- %s" c15cef1d6b07f666df28dac0383bafb0edfe0914..3a4e8d1418d25da83b70158bcaabf65580690b6b | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy` Reviewed by desrosj. Merges [62360] to `trunk`. See #64595. git-svn-id: https://develop.svn.wordpress.org/trunk@62361 602fd350-edb4-49c9-b593-d223f7449a82
Introducing the new content for the 7.0 About page. Fixes #64536. Props mukesh27, audrasjb, jorbin, ankit-k-gupta, parinpanjari, fcoveram, joen, markoserb, Benjamin_Zekavica, westonruter, peterwilsoncc, JeffPaul. git-svn-id: https://develop.svn.wordpress.org/trunk@62362 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [48412]. Props pbearne. Fixes #65187. git-svn-id: https://develop.svn.wordpress.org/trunk@62366 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [37619]. Props pbearne. Fixes #65193. git-svn-id: https://develop.svn.wordpress.org/trunk@62367 602fd350-edb4-49c9-b593-d223f7449a82
…k footer/defer. A classic script with `module_dependencies` may be evaluated before the script modules import map is printed if it loads blocking in the document head, causing a "Failed to resolve module specifier" error on dynamic imports. * Trigger `_doing_it_wrong()` from `_wp_scripts_add_args_data()` when a classic script provides `module_dependencies` without setting `in_footer` to `true` or using a `defer` loading `strategy`, and document this requirement in the `wp_register_script()` and `wp_enqueue_script()` docblocks. * Remove the `module_dependencies` arg from the `wp-codemirror` script registration in favor of passing the espree module URL directly through `wp_get_code_editor_settings()`. This avoids registering `espree` as a publicly-available script module when it is only ever used internally as a private implementation detail of the code editor. * Add a `console.warn()` in `wp.codeEditor.initialize()` when invoked before `DOMContentLoaded`, so developers are alerted if the function is called too early for the import map to have been parsed. * Add PHPStan types which were missing when `module_dependencies` were initially introduced. * Harden `WP_Scripts::add_data()` against non-string `strategy` values being passed to `sprintf()`. Developed in #11788 Follow-up to r61587. Props khokansardar, westonruter, jonsurrell, jorbin. See #61500, #64238. Fixes #65165. git-svn-id: https://develop.svn.wordpress.org/trunk@62368 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [10607]. Props pbearne. Fixes #65182. git-svn-id: https://develop.svn.wordpress.org/trunk@62369 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [62313], [62352], [62366]. See #64894. git-svn-id: https://develop.svn.wordpress.org/trunk@62370 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [31736]. Props pbearne. Fixes #65192. git-svn-id: https://develop.svn.wordpress.org/trunk@62371 602fd350-edb4-49c9-b593-d223f7449a82
This updates Lodash to the latest version, `14.18.1`. A full list of changes can be found on GitHub: lodash/lodash@4.17.23...4.18.1. Props johnbillion. Fixes #65264. git-svn-id: https://develop.svn.wordpress.org/trunk@62372 602fd350-edb4-49c9-b593-d223f7449a82
…s CSS styles. This changeset reverts a negative `-4px` margin on `#poststuff #post-body` introduced in [61646]. Follow-up to [61646], [61759], [62284]. Props TobiasBg, umeshnevase, audrasjb, jadavsanjay, khokansardar, darshitrajyaguru97, gaurangsondagar. Fixes #65141. git-svn-id: https://develop.svn.wordpress.org/trunk@62377 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `3a4e8d1418d25da83b70158bcaabf65580690b6b ` to `a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd`. The following changes are included: - Bump the github-actions group across 1 directory with 5 updates (WordPress/gutenberg#76530) (WordPress/gutenberg#78298) - Improve GHCR asset publishing and expand trigger events to include `pull_request` (WordPress/gutenberg#78211) (WordPress/gutenberg#78324) - I18N: Polyfill script module translations for WordPress < 7.0 (WordPress/gutenberg#77214) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) (WordPress/gutenberg#78370) - Connectors: Consolidate WP 7.0 compat loading and move from experimental (WordPress/gutenberg#78228) (WordPress/gutenberg#78371) - RTC: Make sync/collaboration APIs private (WordPress/gutenberg#78267) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - Script Loader: Defer single-page admin init until DOMContentLoaded (Trac WordPress/gutenberg#65103) (WordPress/gutenberg#78136) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/3a4e8d1418d25da83b70158bcaabf65580690b6b…a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd. Log created with: git log --reverse --format="- %s" 3a4e8d1418d25da83b70158bcaabf65580690b6b..a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd | 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@62380 602fd350-edb4-49c9-b593-d223f7449a82
Props desrosj, ellatrix. Fixes #65273. git-svn-id: https://develop.svn.wordpress.org/trunk@62383 602fd350-edb4-49c9-b593-d223f7449a82
See #65273. git-svn-id: https://develop.svn.wordpress.org/trunk@62384 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [41851]. Props pbearne. Fixes #65175. git-svn-id: https://develop.svn.wordpress.org/trunk@62388 602fd350-edb4-49c9-b593-d223f7449a82
This sets 7.0 as the most recent branch of WordPress in the upgrade testing workflows. See #64893, #64966. git-svn-id: https://develop.svn.wordpress.org/trunk@62392 602fd350-edb4-49c9-b593-d223f7449a82
This removes 24 certificates from the bundle. See #64969. git-svn-id: https://develop.svn.wordpress.org/trunk@62393 602fd350-edb4-49c9-b593-d223f7449a82
… field The `core/get-site-info` ability resolved the `language` field via `get_bloginfo( 'language' )`, which runs through `determine_locale()` and can return the current user's locale in the admin context. As a site-level ability, the `language` field should consistently represent the site locale. Use `get_locale()` (with `_` normalized to `-`) instead so the value reflects the site locale regardless of the requesting user. Props iamadisingh, afercia, audrasjb, yusufmudagal, r1k0, gziolo. Fixes #64977. git-svn-id: https://develop.svn.wordpress.org/trunk@62396 602fd350-edb4-49c9-b593-d223f7449a82
Introduce four filters that give plugins hook points across the ability execution lifecycle, complementing the existing observation-only actions (`wp_before_execute_ability`, `wp_after_execute_ability`): - `wp_pre_execute_ability`: short-circuits `execute()` when it returns a value other than the supplied default. - `wp_ability_normalize_input`: transforms input inside `normalize_input()`, and returning `WP_Error` halts execution. - `wp_ability_permission_result`: overrides the `permission_callback` result inside `check_permissions()`, consistently for `execute()` and direct callers. - `wp_ability_execute_result`: transforms the result inside `do_execute()` before output validation, and can recover from execute callback failures. The input and result filters fire before their respective schema validation steps, so `validate_input()` and `validate_output()` remain the final integrity gates. Only `wp_pre_execute_ability` can bypass validation, with the caller owning the returned value's shape. Add `WP_Filter_Sentinel`, a reusable marker class loaded alongside `WP_Hook`, whose per-instance identity lets a filter default be distinguished from any user value — including `null`, `false`, or arbitrary objects — via `===`. Update `WP_REST_Abilities_V1_Run_Controller::check_ability_permissions()` to propagate `WP_Error` results from `normalize_input()` directly, defaulting to status 400 while preserving filter-set statuses (e.g. 422, 429). Props gziolo, westonruter, migueluy. Fixes #64989. git-svn-id: https://develop.svn.wordpress.org/trunk@62397 602fd350-edb4-49c9-b593-d223f7449a82
Introduce the `wp_ability_validate_input` and `wp_ability_validate_output` filters so developers can layer custom validation on top of the default JSON Schema checks, either augmenting an existing WP_Error or rejecting otherwise valid data. Props priethor, gziolo, westonruter, enej. Fixes #64311. git-svn-id: https://develop.svn.wordpress.org/trunk@62398 602fd350-edb4-49c9-b593-d223f7449a82
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )