[wp-trac] Re: [WordPress Trac] #7050: Patch for WP_CONTENT_URL

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 3 06:38:00 GMT 2009


#7050: Patch for WP_CONTENT_URL
------------------------------+---------------------------------------------
 Reporter:  msi08             |        Owner:  anonymous
     Type:  defect (bug)      |       Status:  closed   
 Priority:  normal            |    Milestone:  2.6      
Component:  General           |      Version:  2.6      
 Severity:  normal            |   Resolution:  fixed    
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------

Comment(by ktdreyer):

 This breaks our Wordpress setup, because we need stylesheet_url() to
 return a URL from get_option('home'). Our siteurl is an internal-access
 only server, so stylesheet_url() never loads for our public URL in
 get_option('home').

 I don't want to re-open this since I'm new to WP's Trac, but am I
 understanding this correctly? If "siteurl" should be location of the admin
 interface, and "home" should be the public-facing URL, why use "siteurl"
 here?

 Incidentally, we had to patch get_bloginfo('pingback_url') to draw from
 get_option('home') for similar reasons.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7050#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list