Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#7384 closed defect (bug) (duplicate)

media-upload.php custom upload path

Reported by: blau Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords: media
Focuses: Cc:


When I set a custom uplad path in wp-admin/options-misc.php (e.g. wp-content/mycustompath), the Media uploader media-upload.php puts the files in the custom path (e.g. wp-content/mycustompath/pic.png), but inserts a link in the post body to the defaul upload path wp-content/uploads. I.e., the img src is to wp-content/uploads/pic.png and the images don't load.

I also use "manage uploads in folders based on date".

wordpress 2.6 PHP 5.2.6 (cli) (built: May 11 2008 13:09:39) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

Change History (1)

#1 @Otto42
10 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 2.6 deleted

This is already fixed in #7308.

Note: See TracTickets for help on using tickets.