Skip to content

Add date field in templates and template parts#77134

Open
ntsekouras wants to merge 1 commit intotrunkfrom
templates-add-date-field
Open

Add date field in templates and template parts#77134
ntsekouras wants to merge 1 commit intotrunkfrom
templates-add-date-field

Conversation

@ntsekouras
Copy link
Copy Markdown
Contributor

What?

Extracted from: #77086

This PR adds the date field in templates and template parts. This will help with the simplification of revisions handling for these post types, as there is a lot of scattered code around that working around the fact that they expose only the modified date.

Testing Instructions

  1. date field should be returned through REST API
  2. everything should work exactly as before

@ntsekouras ntsekouras self-assigned this Apr 8, 2026
@ntsekouras ntsekouras added [Type] Enhancement A suggestion for improvement. [Feature] Templates API Related to API powering block template functionality in the Site Editor REST API Interaction Related to REST API labels Apr 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Flaky tests detected in a4b09b7.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24128552711
📝 Reported issues:

@ntsekouras ntsekouras requested a review from ellatrix April 8, 2026 11:23
Copy link
Copy Markdown
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ntsekouras! This looks good ✅

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Templates API Related to API powering block template functionality in the Site Editor REST API Interaction Related to REST API [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants