Changeset 3116707
- Timestamp:
- 07/11/2024 10:19:39 PM (20 months ago)
- Location:
- json-api-user/trunk
- Files:
-
- 3 edited
-
controllers/User.php (modified) (3 diffs)
-
json-api-user.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
json-api-user/trunk/controllers/User.php
r3115185 r3116707 188 188 foreach ($_REQUEST['custom_fields'] as $field => $val) { 189 189 if(!in_array($field, $disallowed)){ 190 foreach($disallowed as $d){ 191 $field = str_replace($d, 'disallowed', $field); 192 } 193 190 194 $data[$field] = update_user_meta($user_id, $field, $val); 191 195 } … … 630 634 631 635 if(!in_array($meta_key, $disallowed) ){ 636 foreach($disallowed as $d){ 637 $meta_key = str_replace($d, 'disallowed', $meta_key); 638 } 632 639 if (is_array($meta_value)) { 633 640 634 641 $meta_values = array_map('trim', $meta_value); 642 635 643 636 644 $data['updated'] = update_user_meta($user_id, $meta_key, $meta_values); … … 717 725 718 726 if(!in_array($field, $disallowed) ){ 727 foreach($disallowed as $d){ 728 $field = str_replace($d, 'disallowed', $field); 729 } 719 730 $result[$field]['updated'] = update_user_meta($user_id, $field, $values); 720 731 } -
json-api-user/trunk/json-api-user.php
r3115187 r3116707 9 9 Description: Extends the JSON API for RESTful user registration, authentication, password reset, Facebook Login, user meta and BuddyPress Profile related functions. A Pro version is also available. 10 10 11 Version: 3.9. 511 Version: 3.9.6 12 12 13 13 Author: Ali Qureshi … … 19 19 */ 20 20 21 define('JAU_VERSION', '3.9. 5');21 define('JAU_VERSION', '3.9.6'); 22 22 23 23 include_once(ABSPATH . 'wp-admin/includes/plugin.php'); -
json-api-user/trunk/readme.txt
r3115187 r3116707 4 4 Tags: json api, RESTful user registration, authentication, RESTful Facebook Login, RESTful User Meta and BuddyPress xProfile 5 5 Contributors: parorrey 6 Stable tag: 3.9. 56 Stable tag: 3.9.6 7 7 Requires at least: 3.0.1 8 8 Tested up to: 6.6.0 … … 233 233 == Changelog == 234 234 235 = 3.9.6 = 236 * fixed security vulnerabilities & for new version of WordPress 6.6 237 235 238 = 3.9.5 = 236 239 * fixed readme file.
Note: See TracChangeset
for help on using the changeset viewer.