Plugin Directory

Changeset 3023806


Ignore:
Timestamp:
01/19/2024 04:01:12 AM (2 years ago)
Author:
svenl77
Message:

New version: 3.4.20

Location:
wc4bp
Files:
355 added
6 edited

Legend:

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

    r3010742 r3023806  
    3939    public function wc4bp_shop_profile_sync_ajax() {
    4040        if ( ! defined( 'DOING_AJAX' ) && DOING_AJAX ) {
     41            return false;
     42        }
     43        if ( ! current_user_can('manage_options') ) {
    4144            return false;
    4245        }
  • wc4bp/trunk/class/includes/freemius/includes/class-freemius.php

    r2989541 r3023806  
    13611361
    13621362        function _run_garbage_collector() {
    1363             // @todo - Remove this check once the garbage collector is ready to be out of beta.
    1364             if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', false ) ) {
     1363            if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', true ) ) {
    13651364                return;
    13661365            }
  • wc4bp/trunk/class/includes/freemius/includes/class-fs-garbage-collector.php

    r2989541 r3023806  
    285285
    286286            foreach ( $users as $user_id => $user ) {
    287                 if ( ! isset( $user_has_install[ $user_id ] ) ) {
     287                if ( ! isset( $user_has_install_map[ $user_id ] ) ) {
    288288                    unset( $users[ $user_id ] );
    289289
  • wc4bp/trunk/class/includes/freemius/start.php

    r2989541 r3023806  
    1919     * @var string
    2020     */
    21     $this_sdk_version = '2.6.0';
     21    $this_sdk_version = '2.6.2';
    2222
    2323    #region SDK Selection Logic --------------------------------------------------------------------
     
    5050    $file_path    = fs_normalize_path( __FILE__ );
    5151    $fs_root_path = dirname( $file_path );
     52
     53    // @todo: Remove this code after a few months when WP 6.3 usage is low enough.
     54    global $wp_version;
    5255
    5356    if (
     
    5760         * @see theme-previews.php:wp_get_theme_preview_path()
    5861         *
    59          * @todo If this behavior is fixed in the core, we will remove this workaround.
     62         * @todo This behavior is already fixed in the core (WP 6.3.2+), and this code can be removed after a few months when WP 6.3 usage is low enough.
    6063         * @since WP 6.3.0
    6164         */
     65        version_compare( $wp_version, '6.3', '>=' ) &&
     66        version_compare( $wp_version, '6.3.1', '<=' ) &&
    6267        (
    6368            'site-editor.php' === basename( $_SERVER['SCRIPT_FILENAME'] ) ||
  • wc4bp/trunk/readme.txt

    r3010742 r3023806  
    44Requires at least: 4.9
    55Tested up to: 6.4.2
    6 Stable tag: 3.4.19
     6Stable tag: 3.4.20
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696
    9797== Changelog ==
     98= 3.4.20 - 18 Jan 2024 =
     99* Added user role validation ajax call.
     100* Updated Freemius SDK.
     101
    98102= 3.4.19 - 15 Dec 2023 =
    99103* Fixed security issue on admin Ajax callback
  • wc4bp/trunk/wc4bp-basic-integration.php

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