[wp-trac] [WordPress Trac] #50241: Cannot publish the post using Gutenberg after changing REST URL prefix

WordPress Trac noreply at wordpress.org
Mon May 25 17:39:34 UTC 2020


#50241: Cannot publish the post using Gutenberg after changing REST URL prefix
-------------------------------------+-------------------------------------
 Reporter:  ibachal                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  REST API                 |     Version:  trunk
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  has-screenshots          |     Focuses:  administration, rest-
  reporter-feedback close            |  api
-------------------------------------+-------------------------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 > I am using this code in theme's functions.php file.

 Ah, I think that would be the issue, that is too late in the setup
 process. Try creating a [https://www.wpbeginner.com/beginners-guide/what-
 why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/ site
 specific plugin] or using the [https://wordpress.org/plugins/code-
 snippets/ Snippets plugin] and including your same code there.

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


More information about the wp-trac mailing list