Repository navigation
[WP 7.2] Abilities: Accept a date-time without an offset in the date-time schema format (#86845) - #87311
Merged
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: 0 B Total Size: 9.08 MB
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
|
…hema format (#86845) The changelog entry goes in a new `Bug Fixes` section under `Unreleased`, because `wp/7.2` does not have trunk's `0.25.0` and `0.26.0` release sections. (cherry picked from commit 5f63c28) Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org> Co-authored-by: gziolo <gziolo@git.wordpress.org>
peterwilsoncc
force-pushed
the
backport/wp-7.2-86845
branch
from
November 24, 2026 02:41
f345dd0 to
84a1ab2
Compare
peterwilsoncc
marked this pull request as ready for review
November 24, 2026 02:50
Contributor
Author
wporg-sync
pushed a commit
to WordPress/wordpress-develop
that referenced
this pull request
Nov 24, 2026
This updates the pinned commit hash of the Gutenberg repository from `efd7722f89ebb8abfc3607fffdd86f5e34afbd9c` to `c5bdc7f4898ec98114cdccbe1cacec7a979b85cc` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@efd7722...c5bdc7f. - Interactivity API: Align unsupported `data-wp-html` bindings with PHP (WordPress/gutenberg#86968) (WordPress/gutenberg#87015) - E2E: Select the link preview by URL in the keyboard test (WordPress/gutenberg#87053) (WordPress/gutenberg#87102) - Update the Update icon. (WordPress/gutenberg#87088) (WordPress/gutenberg#87139) - Editor: Hide parent controls for non-hierarchical post types (WordPress/gutenberg#85679) (WordPress/gutenberg#87150) - SearchableChipSelect: Use a single string for the chips toolbar label (WordPress/gutenberg#87219) (WordPress/gutenberg#87275) - E2E Tests: Switch the theme before the other setup resets (WordPress/gutenberg#86278) - Abilities: Accept a date-time without an offset in the `date-time` schema format (WordPress/gutenberg#86845) (WordPress/gutenberg#87311) - Fix iOS tap into a quote jumping to the caret's block when it's off screen (WordPress/gutenberg#86923) - Place the caret on a tap after the keyboard is swiped away (WordPress/gutenberg#87182) - Writing flow: Keep the browser from deleting into a neighbouring block (WordPress/gutenberg#87188) - Writing flow: Bring back the header iOS slides off screen, once the canvas stops scrolling (WordPress/gutenberg#87316) - List: Drag a list item by its bullet again (WordPress/gutenberg#85801) - MediaEdit: Show the image preview when the MIME type is empty (WordPress/gutenberg#87207) (WordPress/gutenberg#87326) - Block Editor: Fix block hover outline flicker when moving between elements of a block (WordPress/gutenberg#86852) (WordPress/gutenberg#87328) Developed in: #16187 Props peterwilsoncc, mamaduka, linewebdigital, abhishekfdd, oandregal, jorgefilipecosta. See #66340. Fixes #66428. git-svn-id: https://develop.svn.wordpress.org/trunk@65751 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync
pushed a commit
to WordPress/WordPress
that referenced
this pull request
Nov 24, 2026
This updates the pinned commit hash of the Gutenberg repository from `efd7722f89ebb8abfc3607fffdd86f5e34afbd9c` to `c5bdc7f4898ec98114cdccbe1cacec7a979b85cc` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@efd7722...c5bdc7f. - Interactivity API: Align unsupported `data-wp-html` bindings with PHP (WordPress/gutenberg#86968) (WordPress/gutenberg#87015) - E2E: Select the link preview by URL in the keyboard test (WordPress/gutenberg#87053) (WordPress/gutenberg#87102) - Update the Update icon. (WordPress/gutenberg#87088) (WordPress/gutenberg#87139) - Editor: Hide parent controls for non-hierarchical post types (WordPress/gutenberg#85679) (WordPress/gutenberg#87150) - SearchableChipSelect: Use a single string for the chips toolbar label (WordPress/gutenberg#87219) (WordPress/gutenberg#87275) - E2E Tests: Switch the theme before the other setup resets (WordPress/gutenberg#86278) - Abilities: Accept a date-time without an offset in the `date-time` schema format (WordPress/gutenberg#86845) (WordPress/gutenberg#87311) - Fix iOS tap into a quote jumping to the caret's block when it's off screen (WordPress/gutenberg#86923) - Place the caret on a tap after the keyboard is swiped away (WordPress/gutenberg#87182) - Writing flow: Keep the browser from deleting into a neighbouring block (WordPress/gutenberg#87188) - Writing flow: Bring back the header iOS slides off screen, once the canvas stops scrolling (WordPress/gutenberg#87316) - List: Drag a list item by its bullet again (WordPress/gutenberg#85801) - MediaEdit: Show the image preview when the MIME type is empty (WordPress/gutenberg#87207) (WordPress/gutenberg#87326) - Block Editor: Fix block hover outline flicker when moving between elements of a block (WordPress/gutenberg#86852) (WordPress/gutenberg#87328) Developed in: WordPress/wordpress-develop#16187 Props peterwilsoncc, mamaduka, linewebdigital, abhishekfdd, oandregal, jorgefilipecosta. See #66340. Fixes #66428. Built from https://develop.svn.wordpress.org/trunk@65751 git-svn-id: http://core.svn.wordpress.org/trunk@64781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Manual backport of #86845 to the
wp/7.2branch, since the automatic cherry-pick failed (#86845 (comment)).Why?
Without this change,
executeAbility()rejects date-times without a time zone offset, such as2026-10-21T09:30:00, in thedate-timeschema format. The server accepts them throughrest_parse_date(). So an ability input or output that passes validation on the server fails in the client, withability_invalid_inputorability_invalid_output.The cherry-pick conflicted in
packages/abilities/CHANGELOG.md. Ontrunk, the entry sits underUnreleasedabove the0.26.0and0.25.0release headings, which do not exist onwp/7.2.How?
git cherry-pick -x 5f63c28ac82d9261f81b40002b97b118df1ba116ontowp/7.2.packages/abilities/src/validation.tsandpackages/abilities/src/tests/validation.test.ts: applied as-is from Abilities: Accept a date-time without an offset in thedate-timeschema format #86845. The diff matches the original commit.packages/abilities/CHANGELOG.md: added aBug Fixessection underUnreleasedwith the Abilities: Accept a date-time without an offset in thedate-timeschema format #86845 entry, without bringing over the0.26.0and0.25.0headings.Testing Instructions
npm run test:unit -- packages/abilities/src/tests/validation.test.ts.npm run typecheck -- packages/abilities/tsconfig.json.See #86845 for the full description and manual testing steps.
Testing Instructions for Keyboard
Not applicable: no UI changes.
Use of AI Tools
Claude Code was used to resolve the changelog conflict, check the cherry-pick against the original commit and draft this description. I reviewed the changes.