[buddypress-trac] [BuddyPress] #1970: Avatars failing to upload in WP-Single
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Feb 18 02:02:45 UTC 2010
#1970: Avatars failing to upload in WP-Single
-------------------------+--------------------------------------------------
Reporter: DennisSmolek | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.2.1
Keywords: Avatar |
-------------------------+--------------------------------------------------
Comment(by johnjamesjacoby):
bp-core-avatars.php line 389
Replace:
{{{
if ( !$path = get_option( 'upload_path' ) )
$path = WP_CONTENT_DIR . '/uploads';
}}}
With:
{{{
if ( !$path = get_option( 'upload_path' ) )
$path = WP_CONTENT_DIR . '/uploads';
else
$path = ABSPATH . $path;
}}}
...and report back?
--
Ticket URL: <http://trac.buddypress.org/ticket/1970#comment:12>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list