Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#65049 new enhancement

Templates: Add date field

Reported by: ntsekouras's profile ntsekouras Owned by:
Milestone: 7.1 Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

Backports: https://github.com/WordPress/gutenberg/pull/77134

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 - especially the templates/template parts flows since the change affects only them.

Change History (1)

This ticket was mentioned in PR #11474 on WordPress/wordpress-develop by @ntsekouras.


4 weeks ago
#1

  • Keywords has-unit-tests added

Backports: https://github.com/WordPress/gutenberg/pull/77134

Trac ticket: https://core.trac.wordpress.org/ticket/65049

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 - especially the templates/template parts flows since the change affects only them.
Note: See TracTickets for help on using tickets.