[wp-trac] [WordPress Trac] #26972: WP fails to deduce WP_CONTENT_URL from WP_CONTENT_DIR
WordPress Trac
noreply at wordpress.org
Fri Jan 31 10:55:08 UTC 2014
#26972: WP fails to deduce WP_CONTENT_URL from WP_CONTENT_DIR
--------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: trunk
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
When you define `WP_CONTENT_DIR`, e.g. to `__DIR__ . '/content'`, but not
`WP_CONTENT_URL`, WP will mindlessly define the latter to
`get_option('siteurl') . '/wp-content` instead of trying to identify the
correct url by comparing ABSPATH and WP_CONTENT_DIR.
One issue that this introduces is that it's the wrong URL. Is this
something that we want to fix? (If not, close the ticket.)
The other is that it might end up using the wrong protocol. (Related:
#13941 and #15928.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26972>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list