[wp-testers] sorta an off the wall bug

Otto otto at ottodestruct.com
Thu Jun 21 18:30:45 UTC 2012


On Thu, Jun 21, 2012 at 1:25 PM, Philip M. Hofer (Frumph)
<philip at frumph.net> wrote:
> It gets the full hard-path of whatever is set in the upload_path and uses
> it.
>
> Users who have moved their sites will have that hard-path still and it will
> use it.  so wp_upload_dir() fails out with wp_error.

The real question is why did they have a hard-path there in the first
place? That is certainly not the default.


> Only fix is to go to wp-admin/options.php and change the upload_path (or use
> update_option)

The upload_path is actually a user changeable setting. Just go to
Settings->Media. No need to do drastic measures to change it. See
/wp-admin/options-media.php.


-Otto


More information about the wp-testers mailing list