[wp-trac] [WordPress Trac] #55691: New theme editor uses WP_SITEURL instead of WP_HOME

WordPress Trac noreply at wordpress.org
Fri May 6 19:10:55 UTC 2022


#55691: New theme editor uses WP_SITEURL instead of WP_HOME
----------------------------+-----------------------------
 Reporter:  saijsaij        |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Bundled Theme   |    Version:  5.9.3
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 For my development environment I just installed a fresh copy of WordPress
 using Bedrock and Docker.
 With this combination, my WP_HOME (http://wordpress.localhost) is
 different from my WP_SITEURL (http://wordpress.localhost/wp).

 When I want to run the new Editor under "Appearance" I get the error
 message "The editor is unable to find a block template for the homepage."

 Further debugging revealed, that the URL http://wordpress.localhost/wp
 /?_wp-find-template=true is requested which results in a 404 response.
 For this setup, the URL http://wordpress.localhost/?_wp-find-template=true
 should be called instead as the whole site is reached under the URL
 http://wordpress.localhost and therefore can supply the requested
 information.

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


More information about the wp-trac mailing list