[wp-trac] [WordPress Trac] #12044: Wrong path for uploaded files
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 26 18:52:40 UTC 2010
#12044: Wrong path for uploaded files
--------------------------+-------------------------------------------------
Reporter: wpmuguru | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Multisite | Version: 3.0
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Changes (by freddyware):
* keywords: needs-feedback => needs-patch
Comment:
I've tracked the problem to the vicinity of line 3256 in
[http://core.trac.wordpress.org/browser/trunk/wp-includes/post.php#L3252
wp-includes/post.php] where the logic checks for the string `wp-
content/uploads` in the file URL.
Consider that donncha had [http://trac.mu.wordpress.org/browser/trunk/wp-
includes/post.php#L2978 commented out this part of the code] in the
WordPress µ source code, noting that it "Breaks WordPress MU image upload
path".
Something needs to be done about this if the same code is going to
function for both multisite and non-multisite installations.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12044#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list