[wp-trac] [WordPress Trac] #24740: get_option does not respect WP_HOME, WP_SITEURL

WordPress Trac noreply at wordpress.org
Sat Jan 24 09:43:43 UTC 2015


#24740: get_option does not respect WP_HOME, WP_SITEURL
--------------------------------+------------------------------
 Reporter:  daveagp             |       Owner:
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  3.5.2
 Severity:  normal              |  Resolution:
 Keywords:  has-patch close     |     Focuses:
--------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch close
 * milestone:   => Awaiting Review


Comment:

 Replying to [comment:3 anubisthejackle]:
 > * Take a live site and copy to localhost
 > * Define WP_SITEURL in wp-config.php
 > * Without logging in, visit /wp-admin

 You should define WP_HOME as well.

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


More information about the wp-trac mailing list