Changeset 447195
- Timestamp:
- 10/04/2011 07:00:59 PM (14 years ago)
- Location:
- user-avatar/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
user-avatar.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
user-avatar/trunk/readme.txt
r447156 r447195 35 35 36 36 == Changelog == 37 = 1.4.3 = 38 * Bug fix: Sites that were installed in a sub directory had the problem where user avatars disappeared. Thanks to Woostotmar for pointing that out! 39 37 40 = 1.4.2 = 38 41 * Bug fix: Was displaying a PHP warning if folders were not present! Many Thanks to Gabriel Serafini! -
user-avatar/trunk/user-avatar.php
r447156 r447195 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. 26 Version: 1.4.3 7 7 Author: Enej Bajgoric / Gagan Sandhu / CTLT DEV 8 8 … … 593 593 if( $avatar_img = user_avatar_avatar_exists( $item_id ) ): 594 594 595 $avatar_src = "/wp-content/uploads/avatars/".$item_id."/".$avatar_img;595 $avatar_src = get_site_url()."/wp-content/uploads/avatars/".$item_id."/".$avatar_img; 596 596 597 597 $avatar_folder_dir = USER_AVATAR_UPLOAD_PATH."{$item_id}/"; … … 691 691 692 692 /*-- HELPER FUNCTIONS --*/ 693 /** 694 * user_avatar_avatar_exists function. 695 * 696 * @access public 697 * @param mixed $id 698 * @return void 699 */ 693 700 function user_avatar_avatar_exists($id){ 694 701 … … 726 733 return $return; 727 734 } 728 735 /** 736 * user_avatar_get_avatar function. 737 * 738 * @access public 739 * @param mixed $id 740 * @param mixed $width 741 * @return void 742 */ 729 743 function user_avatar_get_avatar($id,$width) { 730 744
Note: See TracChangeset
for help on using the changeset viewer.