Plugin Directory

Changeset 3451246


Ignore:
Timestamp:
02/01/2026 06:19:13 AM (5 weeks ago)
Author:
webwizardsdev
Message:

5.0.25 commit tag

Location:
b2bking-wholesale-for-woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • b2bking-wholesale-for-woocommerce/trunk/b2bking.php

    r3434926 r3451246  
    55 * Plugin URI:        https://codecanyon.net/item/b2bking-the-ultimate-woocommerce-b2b-plugin/26689576
    66 * Description:       B2BKing is the complete solution for turning WooCommerce into an enterprise-level B2B e-commerce platform. Core Plugin.
    7  * Version:           5.0.20
     7 * Version:           5.0.25
    88 * Author:            WebWizards
    99 * Author URI:        webwizards.dev
     
    2121define( 'B2BKINGCORE_DIR', plugin_dir_path( __FILE__ ) );
    2222if ( ! defined( 'B2BKINGCORE_VERSION' ) ) {
    23     define( 'B2BKINGCORE_VERSION', 'v5.0.20');
     23    define( 'B2BKINGCORE_VERSION', 'v5.0.25');
    2424}
    2525
  • b2bking-wholesale-for-woocommerce/trunk/includes/class-b2bking.php

    r3372523 r3451246  
    13911391        $user_id = sanitize_text_field($_POST['user']);
    13921392
     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
    13931399        // 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        }
    13951407
    13961408        // check if this function is being run by delete subaccount in the frontend
  • b2bking-wholesale-for-woocommerce/trunk/readme.txt

    r3434926 r3451246  
    99Tested up to: 6.9
    1010Requires PHP: 5.6.20
    11 Stable tag: 5.0.20
    12 Version: 5.0.20
     11Stable tag: 5.0.25
     12Version: 5.0.25
    1313License: GPLv2 or later
    1414License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.