Changeset 447210
- Timestamp:
- 10/04/2011 07:31:23 PM (14 years ago)
- Location:
- user-avatar/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
user-avatar.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
user-avatar/trunk/readme.txt
r447195 r447210 35 35 36 36 == Changelog == 37 38 = 1.4.4 = 39 * Minor: Removed Notice errors 40 37 41 = 1.4.3 = 38 42 * Bug fix: Sites that were installed in a sub directory had the problem where user avatars disappeared. Thanks to Woostotmar for pointing that out! -
user-avatar/trunk/user-avatar.php
r447195 r447210 4 4 Plugin URI: http://wordpress.org/extend/plugins/user-avatar/ 5 5 Description: Allows users to associate photos with their accounts by accessing their "Your Profile" page that default as Gravatar or WordPress Default image (from Discussion Page). 6 Version: 1.4. 36 Version: 1.4.4 7 7 Author: Enej Bajgoric / Gagan Sandhu / CTLT DEV 8 8 … … 536 536 $defaults = array( 537 537 'item_id' => false, 538 'object' => "user", // user/group/blog/custom type (if you use filters)539 'type' => $def_type,// thumb or full538 'object' => "user", // user/group/blog/custom type (if you use filters) 539 'type' => 'full', // thumb or full 540 540 'avatar_dir' => false, // Specify a custom avatar directory for your object 541 541 'width' => false, // Custom width (int) 542 542 'height' => false, // Custom height (int) 543 'class' => $def_class,// Custom <img> class (string)543 'class' => '', // Custom <img> class (string) 544 544 'css_id' => false, // Custom <img> ID (string) 545 'alt' => $def_alt, // Custom <img> alt (string)545 'alt' => '', // Custom <img> alt (string) 546 546 'email' => false, // Pass the user email (for gravatar) to prevent querying the DB for it 547 547 'no_grav' => false, // If there is no avatar found, return false instead of a grav? … … 661 661 // Remove the User-Avatar button if there is no uploaded image 662 662 663 if( $_GET['user_id']):663 if(isset($_GET['user_id'])): 664 664 $remove_url = admin_url('user-edit.php')."?user_id=".$_GET['user_id']."&delete_avatar=true&_nononce=". wp_create_nonce('user_avatar')."&u=".$profile->ID; 665 665 else:
Note: See TracChangeset
for help on using the changeset viewer.