";
+ $formatted_logs .= "
";
$formatted_logs .= 'Timestamp: ' . gmdate( 'd-m-Y H:i:s', strtotime( $log['mod_date'] ) ) . '
';
$formatted_logs .= 'User: ' . $log['user'] . '
';
$formatted_logs .= 'Action: ' . $log['action_name'] . '
';
diff --git a/includes/model/class-openedx-commerce-post-type.php b/includes/model/class-openedx-commerce-post-type.php
index 2708b62..9d37a20 100644
--- a/includes/model/class-openedx-commerce-post-type.php
+++ b/includes/model/class-openedx-commerce-post-type.php
@@ -8,7 +8,7 @@
* @since 1.0.0
*/
-namespace App\model;
+namespace OpenedXCommerce\model;
if ( ! defined( 'ABSPATH' ) ) {
exit;
diff --git a/openedx-commerce.php b/openedx-commerce.php
index 26b98d9..4488189 100644
--- a/openedx-commerce.php
+++ b/openedx-commerce.php
@@ -18,9 +18,9 @@
* @wordpress-plugin
*/
-use App\Openedx_Commerce_Activator;
-use App\Openedx_Commerce_Deactivator;
-use App\Openedx_Commerce;
+use OpenedXCommerce\Openedx_Commerce_Activator;
+use OpenedXCommerce\Openedx_Commerce_Deactivator;
+use OpenedXCommerce\Openedx_Commerce;
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
diff --git a/public/class-openedx-commerce-public.php b/public/class-openedx-commerce-public.php
index ee181ee..36cb691 100644
--- a/public/class-openedx-commerce-public.php
+++ b/public/class-openedx-commerce-public.php
@@ -9,7 +9,7 @@
* @subpackage Openedx_Commerce/public
*/
-namespace App\public;
+namespace OpenedXCommerce\public;
/**
* The public-facing functionality of the plugin.
diff --git a/test/class-enrollment-test.php b/test/class-enrollment-test.php
index dfedd63..68664a2 100644
--- a/test/class-enrollment-test.php
+++ b/test/class-enrollment-test.php
@@ -6,11 +6,11 @@
* @subpackage openedx-commerce/tests
*/
-namespace App\tests;
+namespace OpenedXCommerce\tests;
-use App\model\Openedx_Commerce_Enrollment;
-use App\model\Openedx_Commerce_Post_Type;
-use App\admin\Openedx_Commerce_Admin;
+use OpenedXCommerce\model\Openedx_Commerce_Enrollment;
+use OpenedXCommerce\model\Openedx_Commerce_Post_Type;
+use OpenedXCommerce\admin\Openedx_Commerce_Admin;
use PHPUnit\Framework\TestCase;
/**
diff --git a/utils/openedx-utils.php b/utils/openedx-utils.php
index 7388c83..ee6af00 100644
--- a/utils/openedx-utils.php
+++ b/utils/openedx-utils.php
@@ -6,7 +6,7 @@
* @since 1.6.0
*/
-namespace App\utils;
+namespace OpenedXCommerce\utils;
/**
* Enrollment Request mode options.