[wp-trac] [WordPress Trac] #19110: Media File Url
WordPress Trac
noreply at wordpress.org
Thu May 22 19:17:44 UTC 2014
#19110: Media File Url
-------------------------+------------------------------
Reporter: braydonf | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by ericlewis):
* status: new => closed
* resolution: => invalid
Comment:
Media URLs are built on the fly, the base of which is relative to
`WP_CONTENT_URL`([https://core.trac.wordpress.org/browser/tags/3.9.1/src
/wp-includes/functions.php#L1653 link]) which is relative to the
`site_url` option ([https://core.trac.wordpress.org/browser/tags/3.9.1/src
/wp-includes/default-constants.php#L101 link]).
If you're mirroring your site, you're already filtering the `site_url`
somehow (I assume), so the content directories will be automagically set
correctly.
Closing out. Feel free to reopen with more follow-up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19110#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list