Plugin Directory

Changeset 3483897


Ignore:
Timestamp:
03/16/2026 01:30:35 PM (2 weeks ago)
Author:
taggbox
Message:

Update Plugin Code

Location:
taggbox-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • taggbox-widget/trunk/readme.txt

    r3476113 r3483897  
    66Tested up to: 6.9
    77Requires PHP: 5.6
    8 Stable tag: 3.8
     8Stable tag: 3.9
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    349349== Changelog ==
    350350
    351 = 3.8 =
    352   * Now Taggbox social media widget plugin will work within the WordPress itself for better UI and user experience.
     351= 3.9 =
     352  * Updated user registration process.
    353353
    354354== Upgrade Notice ==
  • taggbox-widget/trunk/taggbox.php

    r3476113 r3483897  
    55 * Plugin URI:        https://taggbox.com/widget/
    66 * Description:       Display social media feeds and user-generated content in an interactive widget.
    7  * Version:           3.8
     7 * Version:           3.9
    88 * Author:            Taggbox
    99 * Author URI:        https://taggbox.com/
     
    1616
    1717/* --Start-- Create Constant */
    18 !defined('TAGGBOX_PLUGIN_VERSION')          && define('TAGGBOX_PLUGIN_VERSION',          '3.8');
     18!defined('TAGGBOX_PLUGIN_VERSION')          && define('TAGGBOX_PLUGIN_VERSION',          '3.9');
    1919!defined('TAGGBOX_PLUGIN_DIR_PATH')         && define('TAGGBOX_PLUGIN_DIR_PATH',         plugin_dir_path(__FILE__));
    2020!defined('TAGGBOX_PLUGIN_URL')              && define('TAGGBOX_PLUGIN_URL',              plugin_dir_url(__FILE__));
     
    167167    $__taggbox__user_details = taggbox_user();
    168168    switch ($action):
     169        case '__taggbox__getCallingCode':
     170            /* --Start-- Manage Param Data */
     171            $param['platform']  = TAGGBOX_PLUGIN_PLATFORM;
     172            /* --End-- Manage Param Data */
     173            $response = taggbox_wpApiCall(TAGGBOX_PLUGIN_API_URL . 'apiaccount/getCallingCode', $param, []);
     174            $response = taggbox_manageApiResponse($response);
     175            unset($param);
     176            return taggbox_exitWithSuccess(['callingCode' => $response]);
     177            break;
    169178        case '__taggbox__register':
    170179            if (empty($data->emailId) || empty($data->password) || empty($data->fullName)) :
     
    172181            endif;
    173182            /* --Start-- Manage Param Data */
    174             $param['fullName']   = sanitize_text_field($data->fullName);
    175             $param['emailId']    = sanitize_email($data->emailId);
    176             $param['password']   = $data->password;
    177             $param['contact_no'] = $data->contact_no;
    178             $param['platform']   = TAGGBOX_PLUGIN_PLATFORM;
     183            $param['fullName']     = sanitize_text_field($data->fullName);
     184            $param['emailId']      = sanitize_email($data->emailId);
     185            $param['password']     = $data->password;
     186            $param['contact_no']   = $data->contact_no;
     187            $param['calling_code'] = $data->calling_code;
     188            $param['platform']     = TAGGBOX_PLUGIN_PLATFORM;
    179189            /* --End-- Manage Param Data */
    180190            $response = taggbox_wpApiCall(TAGGBOX_PLUGIN_API_URL . 'apiaccount/register', $param, []);
Note: See TracChangeset for help on using the changeset viewer.