[wp-trac] [WordPress Trac] #12549: Incorrect file URL for existing uploaded images (3.0-single to multi-site)
WordPress Trac
wp-trac at lists.automattic.com
Fri May 7 15:57:16 UTC 2010
#12549: Incorrect file URL for existing uploaded images (3.0-single to multi-site)
--------------------------+-------------------------------------------------
Reporter: kpdesign | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: blocker | Keywords: multisite
--------------------------+-------------------------------------------------
Changes (by jimmcq):
* cc: jimmcq (added)
Comment:
In the wp_upload_dir function of wp-includes/functions.php it seems like
the $url variable should just be set to the value of
get_option('upload_url_path').
I don't see why the next two if statements in that code attempt to
override the value of $url, and ultimately had to comment them out to have
the function return the expected value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12549#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list