From ef8746d807b9fae218026379243bcb7db1143fe4 Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Tue, 12 Dec 2023 17:33:20 -0400 Subject: [PATCH 1/2] refactor: improve the double dirname --- includes/class-openedx-commerce-i18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-openedx-commerce-i18n.php b/includes/class-openedx-commerce-i18n.php index 40bca34..545aaee 100644 --- a/includes/class-openedx-commerce-i18n.php +++ b/includes/class-openedx-commerce-i18n.php @@ -38,7 +38,7 @@ public function load_plugin_textdomain() { load_plugin_textdomain( 'openedx-commerce', false, - dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' + dirname( plugin_basename( __FILE__ ), 2 ) . '/languages/' ); } } From 1c0caa60e463a73d1fd5a3da3892e9fa78a146e6 Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Tue, 12 Dec 2023 17:34:49 -0400 Subject: [PATCH 2/2] docs: add more information about the Open edX connection and fix the tested up version --- README.md | 8 ++++++++ README.txt | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 78d1d98..784deef 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,14 @@ Here are some things you can do with this plugin: - **Obtain enrollment information:** This requests the Open edX APIs to retrieve the enrollment status of a user in a course. +**Note** + +This plugin calls the APIs from Open edX Platform. + +More information about the API connection can be found in Decisions: API connection. + +To learn more, you can visit the Open edX Terms of Service. + # Installation ## Requirements diff --git a/README.txt b/README.txt index 626e282..72ae274 100644 --- a/README.txt +++ b/README.txt @@ -2,7 +2,7 @@ Contributors: felipemontoya, julianrg2, mafermazu Tags: openedx, open edx, ecommerce, lms, courses Requires at least: 6.3 -Tested up to: 6.3.1 +Tested up to: 6.3 Requires PHP: 8.0 Stable tag: 2.0.1 License: GPLv2 or later @@ -41,6 +41,14 @@ Below are some links to help you get started with Open edX WooCommerce Plugin: - Quick Start Guide - How-to Guides +**Note** + +This plugin calls the APIs from Open edX Platform. + +More information about the API connection can be found in Decisions: API connection. + +To learn more, you can visit the Open edX Terms of Service. + == Installation == = Minimum Requirements =