[wp-trac] [WordPress Trac] #57704: Add revisions to the links of the template and template part REST endpoint

WordPress Trac noreply at wordpress.org
Thu Jun 15 09:22:48 UTC 2023


#57704: Add revisions to the links of the template and template part REST endpoint
--------------------------+---------------------
 Reporter:  andraganescu  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  REST API      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by oandregal):

 @draganescu I was looking at doing the backport for
 https://github.com/WordPress/gutenberg/pull/48078 for 6.3, which
 essentially merged `Gutenberg_REST_Template_Revision_Count` into
 `Gutenberg_REST_Templates_Controller_6_3`.
 `Gutenberg_REST_Template_Revision_Count` was introduced by
 https://github.com/WordPress/gutenberg/pull/45215 which this ticket aims
 to backport.


 Looking at this, my understanding is that it was blocked by two things:

 - https://core.trac.wordpress.org/ticket/57709 it has been fixed since.
 - https://core.trac.wordpress.org/ticket/56922 still open.

 I'm out of my expertise here, so may have a uncalibrated intuition, though
 it sounds like this is not ready for 6.3, is that correct?

 It sounds to me that the next steps are:

 - List https://github.com/WordPress/gutenberg/pull/48078 in this ticket
 description (would you be able to do that, Andrei?).
 - Find a way to mark those changes in Gutenberg as "blocked by upstream".
 I'll bring this up in the original PR at
 https://github.com/WordPress/gutenberg/pull/45215

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57704#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list