User Profile Picture - Version 1.0.3

Version Description

  • Bug fix: Avatar classes in the comment section
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 User Profile Picture
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

assets/banner-772x250.png ADDED
Binary file
metronet-profile-picture.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Metronet Profile Picture
4
  Plugin URI: http://wordpress.org/extend/plugins/metronet-profile-picture/
5
  Description: Use the native WP uploader on your user profile page.
6
  Author: Metronet
7
- Version: 1.0.2
8
  Requires at least: 3.3
9
  Author URI: http://www.metronet.no
10
  Contributors: ronalfy, metronet
@@ -137,7 +137,7 @@ class Metronet_Profile_Picture {
137
 
138
  $custom_avatar = mt_profile_img( $user_id, array(
139
  'size' => array( $size, $size ),
140
- 'attr' => array( 'alt' => $alt ),
141
  'echo' => false )
142
  );
143
 
4
  Plugin URI: http://wordpress.org/extend/plugins/metronet-profile-picture/
5
  Description: Use the native WP uploader on your user profile page.
6
  Author: Metronet
7
+ Version: 1.0.3
8
  Requires at least: 3.3
9
  Author URI: http://www.metronet.no
10
  Contributors: ronalfy, metronet
137
 
138
  $custom_avatar = mt_profile_img( $user_id, array(
139
  'size' => array( $size, $size ),
140
+ 'attr' => array( 'alt' => $alt, 'class' => "avatar avatar-{$size} photo" ),
141
  'echo' => false )
142
  );
143
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: metronet, ronalfy
3
  Tags: users, user, user profile
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
- Stable tag: 1.0.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -67,6 +67,9 @@ We highly recommend the <a href='http://wordpress.org/extend/plugins/post-thumbn
67
 
68
  == Changelog ==
69
 
 
 
 
70
  = 1.0.2 =
71
  * Bug fix: Error being shown in comment section
72
 
3
  Tags: users, user, user profile
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
+ Stable tag: 1.0.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.0.3 =
71
+ * Bug fix: Avatar classes in the comment section
72
+
73
  = 1.0.2 =
74
  * Bug fix: Error being shown in comment section
75