[wp-trac] [WordPress Trac] #56922: Template / Template parts revision / autosave REST API are broken

WordPress Trac noreply at wordpress.org
Tue Sep 12 09:09:19 UTC 2023


#56922: Template / Template parts revision / autosave REST API are broken
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh needs-unit-  |     Focuses:  rest-api
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 @antonvlasenko The current PR is just part of the problem. Basically we
 need the ablity to register custom autosave / revision endpoints for post
 types. That way we can fix the regex for just those post types. It is not
 a complex fix, but it might be a lot of code. I just haven't had time to
 work on it.

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


More information about the wp-trac mailing list