[wp-trac] [WordPress Trac] #55915: 404 in gutenberg autosave of a Custom Post Type with custom rest_namespace

WordPress Trac noreply at wordpress.org
Sat Jun 4 01:05:58 UTC 2022


#55915: 404 in gutenberg autosave of a Custom Post Type with custom rest_namespace
----------------------------------+-----------------------------
 Reporter:  hgodinho              |      Owner:  (none)
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Autosave              |    Version:  6.0
 Severity:  normal                |   Keywords:
  Focuses:  javascript, rest-api  |
----------------------------------+-----------------------------
 When registering CPT with `register_post_type` and passing custom
 `rest_namespace`, the block-editor shows a 404 error in console with
 `wp/v2` namespace for autosave.

 StackExchange question:
 https://wordpress.stackexchange.com/questions/406393/404-in-gutenberg-
 autosave-of-a-custom-post-type-with-custom-rest-namespace

 Tom J Nowell has made a PR to fix this:
 https://github.com/WordPress/gutenberg/pull/41542

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


More information about the wp-trac mailing list