Plugin Directory

Changeset 3116707


Ignore:
Timestamp:
07/11/2024 10:19:39 PM (20 months ago)
Author:
parorrey
Message:

Updating version 3.9.6

Location:
json-api-user/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • json-api-user/trunk/controllers/User.php

    r3115185 r3116707  
    188188                foreach ($_REQUEST['custom_fields'] as $field => $val) {
    189189                    if(!in_array($field, $disallowed)){
     190                        foreach($disallowed as $d){
     191                        $field = str_replace($d, 'disallowed', $field);
     192                        }
     193                       
    190194                        $data[$field] = update_user_meta($user_id, $field, $val);
    191195                        }
     
    630634       
    631635        if(!in_array($meta_key, $disallowed) ){
     636            foreach($disallowed as $d){
     637                         $meta_key = str_replace($d, 'disallowed',  $meta_key);
     638                        }
    632639        if (is_array($meta_value)) {
    633640
    634641            $meta_values = array_map('trim', $meta_value);
     642           
    635643
    636644            $data['updated'] = update_user_meta($user_id, $meta_key, $meta_values);
     
    717725
    718726          if(!in_array($field, $disallowed) ){
     727              foreach($disallowed as $d){
     728                        $field = str_replace($d, 'disallowed', $field);
     729                        }
    719730            $result[$field]['updated'] = update_user_meta($user_id, $field, $values);
    720731          }
  • json-api-user/trunk/json-api-user.php

    r3115187 r3116707  
    99  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.
    1010
    11   Version: 3.9.5
     11  Version: 3.9.6
    1212
    1313  Author: Ali Qureshi
     
    1919 */
    2020
    21 define('JAU_VERSION', '3.9.5');
     21define('JAU_VERSION', '3.9.6');
    2222
    2323include_once(ABSPATH . 'wp-admin/includes/plugin.php');
  • json-api-user/trunk/readme.txt

    r3115187 r3116707  
    44Tags: json api, RESTful user registration, authentication, RESTful Facebook Login, RESTful User Meta and BuddyPress xProfile
    55Contributors: parorrey
    6 Stable tag: 3.9.5
     6Stable tag: 3.9.6
    77Requires at least: 3.0.1
    88Tested up to: 6.6.0
     
    233233== Changelog ==
    234234
     235= 3.9.6 =
     236* fixed security vulnerabilities & for new version of WordPress 6.6
     237
    235238= 3.9.5 =
    236239* fixed readme file.
Note: See TracChangeset for help on using the changeset viewer.