[wp-trac] [WordPress Trac] #13941: WP_CONTENT_URL should use site_url() to support HTTPS / SSL

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 11 17:51:55 UTC 2011


#13941: WP_CONTENT_URL should use site_url() to support HTTPS / SSL
-------------------------+-----------------------------
 Reporter:  micropat     |       Owner:  ryan
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by jeremyclarke):

 Ugh. Just to add salt in the wound the definition of {{{WP_CONTENT_URL}}}
 in {{{wp_plugin_directory_constants()}}} happens so early that it's
 impossible to attach a filter to the output of {{{get_option('siteurl')}}}
 before the constant is defined, even using an mu-plugin. Any chance that
 function could be run later so we could affect the output?

 Having to resort to output buffering the whole admin or fork plugins would
 be a bummer.

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


More information about the wp-trac mailing list