Changeset 436 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 10/24/2008 04:00:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-avatars.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r432 r436 195 195 196 196 function bp_core_check_avatar_upload($file) { 197 if ( !isset($file['file']) || $file['file']['size'] == 0)197 if ( $file['error'] ) 198 198 return false; 199 199 … … 446 446 447 447 function bp_core_ap_die( $msg ) { 448 global $bp; 448 449 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>'; 450 451 echo '</div>'; 451 452 exit;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)