Plugin Directory

Changeset 3180902


Ignore:
Timestamp:
11/04/2024 01:19:22 AM (16 months ago)
Author:
flyplugins
Message:

Release 2.1

Location:
memberpress-addon-for-wp-courseware
Files:
12 added
3 edited

Legend:

Unmodified
Added
Removed
  • memberpress-addon-for-wp-courseware/trunk/includes/class-wpcw-mp-members.php

    r3000299 r3180902  
    474474         * @param array $levelList The level list.
    475475         */
    476         public function handle_courseSync( $userID, $levelList ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName, WordPress.NamingConventions.ValidVariableName
     476        public function handle_courseSync( $userID, $levelList, $syncMode = 'sync' ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName, WordPress.NamingConventions.ValidVariableName
    477477            global $wpdb, $wpcwdb;
    478478            $wpdb->show_errors();
     
    497497            } // end if ($levelList && count($levelList) > 0)
    498498
     499            $syncMode = apply_filters( 'wpcw_mp_addon_can_load', $syncMode );
     500
    499501            // By this point, $courseIDList may or may not contain a list of courses.
    500             WPCW_courses_syncUserAccess( $userID, array_keys( $courseIDList ), 'sync' ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName
     502            WPCW_courses_syncUserAccess( $userID, array_keys( $courseIDList ), $syncMode ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName
    501503        }
    502504
  • memberpress-addon-for-wp-courseware/trunk/readme.txt

    r3000299 r3180902  
    44Tags: learning management system, selling online courses
    55Requires at least: 4.9
    6 Tested up to: 6.4.1
    7 Stable tag: 2.0
     6Tested up to: 6.6.2
     7Stable tag: 2.1
    88Requires PHP: 5.2.4
    99License: GPLv3
     
    7777== Changelog ==
    7878
     79= 2.1 =
     80* Fix: fixed minor bug with wpcw_mp_addon_can_load filter
     81
    7982= 2.0 =
    8083* New: Added ability to retoactively enroll a large quantity of students.
  • memberpress-addon-for-wp-courseware/trunk/wp-courseware-memberpress.php

    r3000299 r3180902  
    22/**
    33 * Plugin Name: WP Courseware - MemberPress Add On
    4  * Version: 2.0
     4 * Version: 2.1
    55 * Plugin URI: http://flyplugins.com
    66 * Description: The official extension for WP Courseware to add support for the MemberPress membership plugin for WordPress.
     
    1919
    2020// Constants.
    21 define( 'WPCW_MP_ADDON_VERSION', '1.5.0' );
     21define( 'WPCW_MP_ADDON_VERSION', '2.1.0' );
    2222
    2323/**
Note: See TracChangeset for help on using the changeset viewer.