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

WordPress Trac noreply at wordpress.org
Tue Feb 14 09:07:25 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.2
Component:  REST API      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by andraganescu):

 * priority:  high => normal
 * severity:  normal => minor


Comment:

 Hi @flixos90,

 A problem I have is in the Gutenberg PR a bug was uncovered in the REST
 API - so it depends on how we look at it - is it an enhancement of the
 editor brought by offering that button to users, or is it also a bug fix
 in the template rest API endpoints?

 It is not a must have, it is definitely a nice to have in 6.2, nothing
 will break if this does not land. On the other hand it is such a low
 hanging fruit enhancement, received with such positive feedback, that we
 may want to try and see if it is possible to land it in 6.2.

 It is clear that if we can add the proper bug fix to the REST API in 6.2,
 either by porting the PHP solution in the Gutenberg PR or by implementing
 a more thorough fix as seen in
 https://core.trac.wordpress.org/ticket/56922, the porting of the code to
 show the button is pretty harmless even as we're past the cutoff for
 enhancements.

 I will say that I fully understand a decision to skip for multiple
 reasons:

 - I may not have a full understanding of scope of updates in the REST API
 - I am about to open a ticket about that Gutenberg PR itself, which only
 adds even more work (the links in the revisions editor don't go back to
 the editor)
 - It's only a nice to have :)

 Yet, it is possible and nice to have :)

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


More information about the wp-trac mailing list