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

WordPress Trac noreply at wordpress.org
Fri Jan 31 19:05:04 UTC 2014


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

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


Comment:

 Hi daveagp, get_option() is filtered to use WP_HOME and WP_SITEURL when
 they are defined. See _config_wp_siteurl() and _config_wp_home().

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


More information about the wp-trac mailing list