Changeset 3483897
- Timestamp:
- 03/16/2026 01:30:35 PM (2 weeks ago)
- Location:
- taggbox-widget/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
taggbox.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
taggbox-widget/trunk/readme.txt
r3476113 r3483897 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6 8 Stable tag: 3. 88 Stable tag: 3.9 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 349 349 == Changelog == 350 350 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. 353 353 354 354 == Upgrade Notice == -
taggbox-widget/trunk/taggbox.php
r3476113 r3483897 5 5 * Plugin URI: https://taggbox.com/widget/ 6 6 * Description: Display social media feeds and user-generated content in an interactive widget. 7 * Version: 3. 87 * Version: 3.9 8 8 * Author: Taggbox 9 9 * Author URI: https://taggbox.com/ … … 16 16 17 17 /* --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'); 19 19 !defined('TAGGBOX_PLUGIN_DIR_PATH') && define('TAGGBOX_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__)); 20 20 !defined('TAGGBOX_PLUGIN_URL') && define('TAGGBOX_PLUGIN_URL', plugin_dir_url(__FILE__)); … … 167 167 $__taggbox__user_details = taggbox_user(); 168 168 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; 169 178 case '__taggbox__register': 170 179 if (empty($data->emailId) || empty($data->password) || empty($data->fullName)) : … … 172 181 endif; 173 182 /* --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; 179 189 /* --End-- Manage Param Data */ 180 190 $response = taggbox_wpApiCall(TAGGBOX_PLUGIN_API_URL . 'apiaccount/register', $param, []);
Note: See TracChangeset
for help on using the changeset viewer.