[wp-trac] [WordPress Trac] #54680: Site Editor: Adding 404 template causes rest_invalid_pattern

WordPress Trac noreply at wordpress.org
Wed Dec 22 16:05:50 UTC 2021


#54680: Site Editor: Adding 404 template causes rest_invalid_pattern
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Editor           |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Reported and fixed by GH user @PatelUtkarsh at
 https://github.com/WordPress/gutenberg/pull/37579.

 Quoting the Gutenberg PR:

 Adding 404 template from `/wp-admin/site-editor.php?postType=wp_template`
 causes 400 with `rest_invalid_pattern`

 - Theme without 404 templates.
 - Open `/wp-admin/site-editor.php?postType=wp_template`
 - Add new 404 templates.
 - Used nightly WordPress build to test this.

 Screencast: https://user-
 images.githubusercontent.com/5015489/147066116-2e23ff30-0dd7-45d3-a40a-
 510ef06156e2.mp4

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


More information about the wp-trac mailing list