Repository navigation
Conversation
The post form's `date` panel is now summarized by the `publish_date` field, which reads "Immediately" while the post has no date of its own, as the post summary did before it moved to the form. Post types providing their own form are unchanged. See #65981. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
jorgefilipecosta
left a comment
There was a problem hiding this comment.
LGTM 👍 The form change matches the Gutenberg shim, and the tests pass locally. The two nitpicks above are not blockers.
Combines the two `@since 7.2.0` entries of `_wp_get_default_posttype_form()` and asserts the missing `date` summary with `assertFalse( isset() )` and a failure message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Committed at https://core.trac.wordpress.org/changeset/65345 |
Trac ticket: https://core.trac.wordpress.org/ticket/65981
Summarizes the
datepanel of the default post type form with thepublish_datefield inview-config.php. The field reads "Immediately" while the post has no date of its own (a draft whose date floats, or a reset date), as the post summary did before it moved to the form. Otherwise it words the date as the post summary did, like "Today at 10:28 am" or "March 15, 2027 10:00 am".Only the form changes: DataViews lists keep showing the
datefield. Post types providing their own form (attachment,wp_block,wp_template,wp_template_part) are unchanged.The REST schema of the endpoint already allows a panel
summary. Thepublish_datefield itself ships with the@wordpress/core-fieldspackage update and the server registration of the default fields.Backports
Gutenberg PRs:
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 5.5
Used for: Porting the change and its tests from the Gutenberg PR. Reviewed and edited by me.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.