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

WordPress Trac noreply at wordpress.org
Sun Dec 6 22:03:35 UTC 2015


#13941: WP_CONTENT_URL should use site_url() to support HTTPS / SSL
---------------------------------+-----------------------------
 Reporter:  micropat             |       Owner:  johnbillion
     Type:  defect (bug)         |      Status:  closed
 Priority:  low                  |   Milestone:  Future Release
Component:  Bootstrap/Load       |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 4.5-early  |     Focuses:
---------------------------------+-----------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35804"]:
 {{{
 #!CommitTicketReference repository="" revision="35804"
 Use `site_url()` when generating `WP_CONTENT_URL` so it correctly adjusts
 for pages served over HTTPS. This mainly only affects old plugins which
 still use `WP_CONTENT_URL` instead of the newer `plugins_url()` function.

 Fixes #13941
 Props micropat
 }}}

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


More information about the wp-trac mailing list