[wp-trac] Re: [WordPress Trac] #1721: vars.php calls get_settings() on 'siteurl' and 'home' before filters applied

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 3 16:24:09 GMT 2006


#1721: vars.php calls get_settings() on 'siteurl' and 'home' before filters
applied
------------------------------------------------+---------------------------
 Reporter:  asknight                            |        Owner:  anonymous
     Type:  defect                              |       Status:  new      
 Priority:  high                                |    Milestone:  2.1      
Component:  Administration                      |      Version:  1.2      
 Severity:  major                               |   Resolution:           
 Keywords:  vars.php cookies filters has-patch  |  
------------------------------------------------+---------------------------
Changes (by Nazgul):

  * keywords:  vars.php cookies filters => vars.php cookies filters has-
               patch

Comment:

 get_option('home') is no longer present, so that's no longer an issue.

 get_option('siteurl') is only being used for generating the smiley search
 and replace arrays. By moving that partly out of vars.php and into wp-
 settings.php it won't get called until filters are declared.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1721>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list