User Profile Picture - Version 1.2.7

Version Description

  • Updated 20 August 2015 for WP 4.3 compatibility
  • Released 10 June 2015
  • Bug fix: warning message saying missing argument for avatar_override
Download this release

Release Info

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

Code changes from version 1.2.5 to 1.2.7

Files changed (2) hide show
  1. metronet-profile-picture.php +2 -2
  2. readme.txt +10 -2
metronet-profile-picture.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: User 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: ronalfy
7
- Version: 1.2.5
8
  Requires at least: 3.5
9
  Author URI: http://www.ronalfy.com
10
  Contributors: ronalfy
@@ -157,7 +157,7 @@ class Metronet_Profile_Picture {
157
  * @param string $default URL to the default image
158
  * @param string $alt Alternative text
159
  **/
160
- public function avatar_override( $avatar, $id_or_email, $size, $default, $alt, $args ) {
161
  global $pagenow;
162
  if ( 'options-discussion.php' == $pagenow ) return $avatar; //Stop overriding gravatars on options-discussion page
163
 
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: ronalfy
7
+ Version: 1.2.7
8
  Requires at least: 3.5
9
  Author URI: http://www.ronalfy.com
10
  Contributors: ronalfy
157
  * @param string $default URL to the default image
158
  * @param string $alt Alternative text
159
  **/
160
+ public function avatar_override( $avatar, $id_or_email, $size, $default, $alt, $args = array() ) {
161
  global $pagenow;
162
  if ( 'options-discussion.php' == $pagenow ) return $avatar; //Stop overriding gravatars on options-discussion page
163
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: ronalfy
3
  Tags: users, user, user profile
4
  Requires at least: 3.5
5
- Tested up to: 4.2.2
6
- Stable tag: 1.2.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -105,6 +105,11 @@ Yes, but you'll have to set a new profile image per site. This is currently a l
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
108
  = 1.2.5 =
109
  * Released 06 June 2015
110
  * Bug fix: get_avatar override now accepts custom classes.
@@ -191,6 +196,9 @@ Yes, but you'll have to set a new profile image per site. This is currently a l
191
 
192
  == Upgrade Notice ==
193
 
 
 
 
194
  = 1.2.5 =
195
  Bug fix for avatar override to accept custom CSS classes.
196
 
2
  Contributors: ronalfy
3
  Tags: users, user, user profile
4
  Requires at least: 3.5
5
+ Tested up to: 4.4
6
+ Stable tag: 1.2.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
105
 
106
  == Changelog ==
107
 
108
+ = 1.2.7 =
109
+ * Updated 20 August 2015 for WP 4.3 compatibility
110
+ * Released 10 June 2015
111
+ * Bug fix: warning message saying missing argument for avatar_override
112
+
113
  = 1.2.5 =
114
  * Released 06 June 2015
115
  * Bug fix: get_avatar override now accepts custom classes.
196
 
197
  == Upgrade Notice ==
198
 
199
+ = 1.2.7 =
200
+ Bug fix for warning message saying missing argument for avatar_override.
201
+
202
  = 1.2.5 =
203
  Bug fix for avatar override to accept custom CSS classes.
204