Plugin Directory

Changeset 3010742


Ignore:
Timestamp:
12/16/2023 02:08:05 AM (2 years ago)
Author:
svenl77
Message:

New version: 3.4.19

Location:
wc4bp
Files:
355 added
6 edited

Legend:

Unmodified
Added
Removed
  • wc4bp/trunk/admin/admin-ajax.php

    r2736061 r3010742  
    3838
    3939    public function wc4bp_shop_profile_sync_ajax() {
     40        if ( ! defined( 'DOING_AJAX' ) && DOING_AJAX ) {
     41            return false;
     42        }
     43        check_ajax_referer( 'wc4bp_admin_sync_nonce', 'nonce' );
    4044        try {
    4145            $wc4bp_page  = Request_Helper::get_post_param( 'wc4bp_page' );
  • wc4bp/trunk/admin/js/admin.js

    r2530793 r3010742  
    77            type: 'POST',
    88            url: ajaxurl,
    9             data: {'action': 'wc4bp_shop_profile_sync_ajax', 'visibility_level': visibility_level, 'update_type': update_type, 'wc4bp_page': wc4bp_this_user_pages},
     9            data: {'action': 'wc4bp_shop_profile_sync_ajax', 'visibility_level': visibility_level, 'update_type': update_type, 'wc4bp_page': wc4bp_this_user_pages,'nonce':wc4bp_admin_js.nonce},
    1010            success: function(data) {
    1111                jQuery('#result').html(data);
  • wc4bp/trunk/admin/js/admin.min.js

    r2530793 r3010742  
    1 function wc4bpAdministration(){function e(){wc4bp_this_user_pages++,jQuery.ajax({async:!1,type:"POST",url:ajaxurl,data:{action:"wc4bp_shop_profile_sync_ajax",visibility_level:visibility_level,update_type:update_type,wc4bp_page:wc4bp_this_user_pages},success:function(e){jQuery("#result").html(e)},error:function(){void 0}}),wc4bp_total_user_pages>wc4bp_this_user_pages&&window.setTimeout(function(){e()},0),wc4bp_total_user_pages==wc4bp_this_user_pages&&jQuery("#result").html("<h2>All Donne! Update Complete ;)</h2>")}function s(){wc4bp_total_user_pages=jQuery("#wc4bp_total_user_pages").val(),wc4bp_this_user_pages=jQuery("#continue_update_paged").val(),e()}function u(){update_type=jQuery(this).attr("id"),visibility_level=jQuery("#"+update_type+"_options").val(),wc4bp_total_user_pages=jQuery("#wc4bp_total_user_pages").val(),wc4bp_this_user_pages=0,e()}
     1function wc4bpAdministration(){function e(){wc4bp_this_user_pages++,jQuery.ajax({async:!1,type:"POST",url:ajaxurl,data:{action:"wc4bp_shop_profile_sync_ajax",visibility_level:visibility_level,update_type:update_type,wc4bp_page:wc4bp_this_user_pages,nonce:wc4bp_admin_js.nonce},success:function(e){jQuery("#result").html(e)},error:function(){void 0}}),wc4bp_total_user_pages>wc4bp_this_user_pages&&window.setTimeout(function(){e()},0),wc4bp_total_user_pages==wc4bp_this_user_pages&&jQuery("#result").html("<h2>All Donne! Update Complete ;)</h2>")}function s(){wc4bp_total_user_pages=jQuery("#wc4bp_total_user_pages").val(),wc4bp_this_user_pages=jQuery("#continue_update_paged").val(),e()}function u(){update_type=jQuery(this).attr("id"),visibility_level=jQuery("#"+update_type+"_options").val(),wc4bp_total_user_pages=jQuery("#wc4bp_total_user_pages").val(),wc4bp_this_user_pages=0,e()}
    22return{init:function(){jQuery(function(){jQuery("#tabs").tabs()});var e=jQuery("#continue_update_paged");0<e.length&&e.click(s);var t=jQuery(".wc_bp_sync_all_user_data");0<t.length&&t.click(u)
    33}}}var wc4bpImplementation=wc4bpAdministration();jQuery(document).ready(function(){wc4bpImplementation.init()});
  • wc4bp/trunk/class/wc4bp-manage-admin.php

    r2848701 r3010742  
    6464                WC4BP_Loader::VERSION
    6565            );
     66            wp_localize_script(
     67                'wc4bp_admin_js',
     68                'wc4bp_admin_js',
     69                array(
     70                    'nonce'   => wp_create_nonce( 'wc4bp_admin_sync_nonce' ),
     71                )
     72            );
    6673            wp_enqueue_style( 'wc4bp_admin_spinner_css', wc4bp_Manager::assets_path( 'loading-spiner', 'css' ) );
    6774            wp_enqueue_style( 'dashicons' );
  • wc4bp/trunk/readme.txt

    r2989541 r3010742  
    33Tags: woocommerce my account, woocommerce buddypress, woocommerce profile, woocommerce member pages, buddyboss
    44Requires at least: 4.9
    5 Tested up to: 6.3.2
    6 Stable tag: 3.4.18
     5Tested up to: 6.4.2
     6Stable tag: 3.4.19
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696
    9797== Changelog ==
     98= 3.4.19 - 15 Dec 2023 =
     99* Fixed security issue on admin Ajax callback
     100* Tested up to WordPress 6.4.2
     101
    98102= 3.4.18 - 05 Nov 2023 =
    99103* Updated Freemius SDK.
  • wc4bp/trunk/wc4bp-basic-integration.php

    r2989541 r3010742  
    1010 * Author: ThemeKraft
    1111 * Author URI: https://themekraft.com/products/woocommerce-buddypress-integration/
    12  * Version: 3.4.18
     12 * Version: 3.4.19
    1313 * Licence: GPLv3
    1414 * Text Domain: wc4bp
     
    4848         * The plugin version
    4949         */
    50         const  VERSION = '3.4.18' ;
     50        const  VERSION = '3.4.19' ;
    5151        /**
    5252         * Minimum required WP version
Note: See TracChangeset for help on using the changeset viewer.