[wp-trac] [WordPress Trac] #31361: WP_SITEURL and WP_HOME breaks the admin bar and disables styles in the login page

WordPress Trac noreply at wordpress.org
Tue Feb 17 14:18:28 UTC 2015


#31361: WP_SITEURL and WP_HOME breaks the admin bar and disables styles in the
login page
-------------------------------+------------------------------
 Reporter:  gemjeweled         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback
 * focuses:  ui, administration, template => administration


Comment:

 > Same problem still exists even if all plugins are disabled, theme is
 switched to the default theme (Twenty Fifteen, etc) and even with a
 clean/reinstalled copy of WordPress.

 Could not reproduce on a clean install, `WP_HOME` and `WP_SITEURL` work as
 expected for me.

 Looking at the screenshots, you have some paths prepended with the current
 page URL, as well as some root-relative paths. None of this should happen
 on a clean install, WordPress uses absolute URLs by default.

 1. What were the actual `WP_HOME` and `WP_SITEURL` values you have set?
 2. Do you have something on your install that turns absolute URLs to
 relative?

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


More information about the wp-trac mailing list