[wp-testers] sorta an off the wall bug

Philip M. Hofer (Frumph) philip at frumph.net
Thu Jun 21 18:27:23 UTC 2012


To fix, users who have moved their site (on the same hosting, or with .sql 
dumps)



-----Original Message----- 
From: Philip M. Hofer (Frumph)
Sent: Thursday, June 21, 2012 11:25 AM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] sorta an off the wall bug

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.

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







-----Original Message----- 
From: Andrew Nacin
Sent: Thursday, June 21, 2012 8:31 AM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] sorta an off the wall bug

On Thu, Jun 21, 2012 at 9:16 AM, Otto <otto at ottodestruct.com> wrote:

> There's nothing wrong with that. The upload_path *should* get set to
> the full hard-path when the wp-content directory isn't in the ABSPATH.
>

But is that what is occurring here? Doesn't seem like it, based on my read.
Frumph?
_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers 



More information about the wp-testers mailing list