Custom User Profile Photo - Version 0.5.1

Version Description

  • Fixed issue with update_user_attribute.
Download this release

Release Info

Developer 3five
Plugin Icon wp plugin Custom User Profile Photo
Version 0.5.1
Comparing to
See all releases

Code changes from version 0.5 to 0.5.1

Files changed (2) hide show
  1. 3five_cupp.php +2 -2
  2. readme.txt +7 -1
3five_cupp.php CHANGED
@@ -9,7 +9,7 @@ Author: 3five
9
  Author URI: http://3five.com
10
  Text Domain: custom-user-profile-photo
11
  Domain Path: /languages/
12
- Version: 0.5
13
  */
14
 
15
  /**
@@ -209,7 +209,7 @@ function cupp_save_img_meta( $user_id ) {
209
  );
210
 
211
  foreach ( $values as $key => $value ) {
212
- update_user_attribute( $user_id, $key, $value );
213
  }
214
  }
215
 
9
  Author URI: http://3five.com
10
  Text Domain: custom-user-profile-photo
11
  Domain Path: /languages/
12
+ Version: 0.5.1
13
  */
14
 
15
  /**
209
  );
210
 
211
  foreach ( $values as $key => $value ) {
212
+ update_user_meta( $user_id, $key, $value );
213
  }
214
  }
215
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: custom profile photo, custom profile picture, profile picture, user profile, profile photo, user profile photo, user profile picture
5
  Requires at least: 3.6.1
6
  Tested up to: 4.6
7
- Stable tag: 0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -84,6 +84,9 @@ Where the $user_ID is the users ID number and the size is a registered image siz
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 0.5 =
88
  * Major Update - please be sure to backup your site and db.
89
  * Replaced `update_user_meta` with `update_user_attribute` per WordPress VIP Standards.
@@ -125,6 +128,9 @@ Where the $user_ID is the users ID number and the size is a registered image siz
125
 
126
  == Upgrade Notice ==
127
 
 
 
 
128
  = 0.5 =
129
  Major Update - please be sure to backup your site and db. The plugin was refactored and restructured per PHPCS. Some functions were swapped for ones that were less costly or could cause a 404 response. Fixed textdomain issue for translations and added Spanish translation.
130
 
4
  Tags: custom profile photo, custom profile picture, profile picture, user profile, profile photo, user profile photo, user profile picture
5
  Requires at least: 3.6.1
6
  Tested up to: 4.6
7
+ Stable tag: 0.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 0.5.1 =
88
+ * Fixed issue with `update_user_attribute`.
89
+
90
  = 0.5 =
91
  * Major Update - please be sure to backup your site and db.
92
  * Replaced `update_user_meta` with `update_user_attribute` per WordPress VIP Standards.
128
 
129
  == Upgrade Notice ==
130
 
131
+ = 0.5.1 =
132
+ Fixed issue with update_user_attribute.
133
+
134
  = 0.5 =
135
  Major Update - please be sure to backup your site and db. The plugin was refactored and restructured per PHPCS. Some functions were swapped for ones that were less costly or could cause a 404 response. Fixed textdomain issue for translations and added Spanish translation.
136