Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/24/2008 04:00:42 PM (18 years ago)
Author:
apeatling
Message:
  • Fixed avatar upload validation bug when image upload field left blank
  • Fixed incorrect "your" wording on site wide activity widget
  • Fixed profile wire posting bug
  • Updated site wide members directory
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r432 r436  
    195195
    196196function bp_core_check_avatar_upload($file) {
    197         if ( !isset($file['file']) || $file['file']['size'] == 0 )
     197        if ( $file['error'] )
    198198                return false;
    199199       
    … …  
    446446
    447447function bp_core_ap_die( $msg ) {
     448        global $bp;
    448449        echo '<p><strong>' . $msg . '</strong></p>';
    449         echo '<p><a href="' . $bp['loggedin_domain'] . '/' . $bp['profile']['slug'] . '/change-avatar">' . __('Try Again', 'buddypress') . '</a></p>';
     450        echo '<p><a href="' . site_url() . '/' . $bp['profile']['slug'] . '/change-avatar">' . __('Try Again', 'buddypress') . '</a></p>';
    450451        echo '</div>';
    451452        exit;
Note: See TracChangeset for help on using the changeset viewer.