[wp-trac] [WordPress Trac] #65049: Templates: Add date field

WordPress Trac noreply at wordpress.org
Thu Apr 9 10:12:56 UTC 2026


#65049: Templates: Add date field
-------------------------+-----------------------
 Reporter:  ntsekouras   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  7.1
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list