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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 3 07:19:08 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):

 Replying to [comment:6 DD32]:
 > you'd be better off filtering the links at some point to replace the
 public url with the private url.

 Thanks for the reply. Our problem is that internal links are showing up in
 the external site, so we'd actually want to replace the private URLs with
 the public URL.

 Here is our setup:

 {{{
 get_option('home') = https://internal.example.com/press/
 get_option('siteurl') = http://www.example.com/press/
 }}}

 So our wp-content is at both https://internal.example.com/press/wp-
 content/ and http://www.example.com/press/wp-content/ . Is there a way we
 can make WP_CONTENT_URL more robust for our setup?

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


More information about the wp-trac mailing list