Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v2.1.1 - 2025-10-20

### [2.1.1](https://github.com/openedx/openedx-wordpress-ecommerce/compare/v2.1.0...v2.1.1) (2025-10-20)

#### Bug Fixes

* fix: send the correct course_mode in the enrollment request (#121)


## v2.1.0 - 2025-08-05

### [2.1.0](https://github.com/openedx/openedx-wordpress-ecommerce/compare/v2.0.7...v2.1.0) (2025-08-05)
Expand Down
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: felipemontoya, julianrg2, mafermazu
Tags: openedx, open edx, ecommerce, lms, courses
Requires at least: 6.3
Tested up to: 6.8
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 2.1.0
Stable tag: 2.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
4 changes: 2 additions & 2 deletions openedx-commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Open edX Commerce
* Plugin URI: https://github.com/openedx/openedx-wordpress-ecommerce
* Description: Easily connect your WooCommerce store to Open edX.
* Version: 2.1.0
* Version: 2.1.1
* Author: Open edX Community
* Author URI: https://github.com/openedx/openedx-wordpress-ecommerce
* License: GPL-2.0+
Expand Down Expand Up @@ -32,7 +32,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'OPENEDX_COMMERCE_VERSION', '2.1.0' );
define( 'OPENEDX_COMMERCE_VERSION', '2.1.1' );

/**
* The code that runs during plugin activation.
Expand Down
12 changes: 6 additions & 6 deletions utils/openedx-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
*/
function get_enrollment_options() {
return array(
'Honor' => __( 'Honor', 'openedx-commerce' ),
'Audit' => __( 'Audit', 'openedx-commerce' ),
'Verified' => __( 'Verified', 'openedx-commerce' ),
'Credit' => __( 'Credit', 'openedx-commerce' ),
'Professional' => __( 'Professional', 'openedx-commerce' ),
'No ID Professional' => __( 'No ID Professional', 'openedx-commerce' ),
'honor' => __( 'Honor', 'openedx-commerce' ),
'audit' => __( 'Audit', 'openedx-commerce' ),
'verified' => __( 'Verified', 'openedx-commerce' ),
'credit' => __( 'Credit', 'openedx-commerce' ),
'professional' => __( 'Professional', 'openedx-commerce' ),
'no-id-professional' => __( 'No ID Professional', 'openedx-commerce' ),
);
}