Changeset 3451246
- Timestamp:
- 02/01/2026 06:19:13 AM (5 weeks ago)
- Location:
- b2bking-wholesale-for-woocommerce/trunk
- Files:
-
- 3 edited
-
b2bking.php (modified) (2 diffs)
-
includes/class-b2bking.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
b2bking-wholesale-for-woocommerce/trunk/b2bking.php
r3434926 r3451246 5 5 * Plugin URI: https://codecanyon.net/item/b2bking-the-ultimate-woocommerce-b2b-plugin/26689576 6 6 * Description: B2BKing is the complete solution for turning WooCommerce into an enterprise-level B2B e-commerce platform. Core Plugin. 7 * Version: 5.0.2 07 * Version: 5.0.25 8 8 * Author: WebWizards 9 9 * Author URI: webwizards.dev … … 21 21 define( 'B2BKINGCORE_DIR', plugin_dir_path( __FILE__ ) ); 22 22 if ( ! defined( 'B2BKINGCORE_VERSION' ) ) { 23 define( 'B2BKINGCORE_VERSION', 'v5.0.2 0');23 define( 'B2BKINGCORE_VERSION', 'v5.0.25'); 24 24 } 25 25 -
b2bking-wholesale-for-woocommerce/trunk/includes/class-b2bking.php
r3372523 r3451246 1391 1391 $user_id = sanitize_text_field($_POST['user']); 1392 1392 1393 // Check that account is pending B2BKing B2B approval (only B2B user registrations can be rejected) 1394 $account_approved = get_user_meta($user_id, 'b2bking_account_approved', true ); 1395 if ($account_approved !== 'no'){ 1396 wp_die(); 1397 } 1398 1393 1399 // delete account 1394 wp_delete_user($user_id); 1400 if (apply_filters('b2bking_reject_user_delete', true)){ 1401 if (is_multisite()) { 1402 wpmu_delete_user($user_id); 1403 } else { 1404 wp_delete_user($user_id); 1405 } 1406 } 1395 1407 1396 1408 // check if this function is being run by delete subaccount in the frontend -
b2bking-wholesale-for-woocommerce/trunk/readme.txt
r3434926 r3451246 9 9 Tested up to: 6.9 10 10 Requires PHP: 5.6.20 11 Stable tag: 5.0.2 012 Version: 5.0.2 011 Stable tag: 5.0.25 12 Version: 5.0.25 13 13 License: GPLv2 or later 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.