esc_html__( 'Is the moodle site webservice accessible?', 'edwiser-bridge' ),
'contact_support' => esc_html__( 'Invalid response from server. Please contact plugin support', 'edwiser-bridge' ),
'contact_hosting' => esc_html__( 'The plugin is receiving an invalid response code from Moodle website or is unable to connect. Please contact your hosting provider.', 'edwiser-bridge' ),
- 'turn_off_debug_log' => esc_html__( 'Please turn off debug display(WP_DEBUG & WP_DEBUG_DISPLAY) in wp-config.php and disable debug mode on Moodle website as well to fix this issue.', 'edwiser-bridge' ),
+ 'turn_off_debug_log' => sprintf( esc_html__( 'Please turn off debug display(WP_DEBUG & WP_DEBUG_DISPLAY) in wp-config.php and disable debug mode on Moodle website as well to fix this issue. Click %s here %s to learn more.', 'edwiser-bridge' ), '', '' ),
'token_mismatch' => esc_html__( 'Token added does not match the token configured on the moodle site.', 'edwiser-bridge' ),
- 'not_authorized' => esc_html__( 'The user(s) used to create token on Moodle is(are) not site administrator(s) or manager(s) and therefore has limited access. This might lead to some issues with data synchronization.', 'edwiser-bridge' ),
+ 'not_authorized' => esc_html__( 'The user(s) associated with the token creation in Moodle are either not included in the web service\'s authorized users list or lack the required site administrator or manager roles. Consequently, their access is limited, which may result in issues with data synchronization.', 'edwiser-bridge' ),
'please_refresh' => esc_html__( 'Please refresh the page and check again. If the issue is still not resolved please contact support.', 'edwiser-bridge' ),
'wp_version_issue' => esc_html__( 'Your WordPress version is not supported. Please upgrade to the latest version.', 'edwiser-bridge' ),
'rest_disable_issue' => esc_html__( 'The REST API is disabled by either a Security plugin or some other plugin using hooks. It might also have been disabled in your server configuration. Please disable any security plugins and search for conflicts. If the issue doesnt get resolved contact the hosting provider to confirm that server configuration is not causing any issues.', 'edwiser-bridge' ),
diff --git a/edwiser-bridge/admin/settings/class-eb-settings-connection.php b/edwiser-bridge/admin/settings/class-eb-settings-connection.php
index bbc6c94..117f494 100644
--- a/edwiser-bridge/admin/settings/class-eb-settings-connection.php
+++ b/edwiser-bridge/admin/settings/class-eb-settings-connection.php
@@ -223,11 +223,19 @@ public function get_settings( $current_section = '' ) {
'class' => 'button secondary',
'parent_row_class' => 'inline'
),
+ array(
+ 'html' => '
',
'type' => 'cust_html',
diff --git a/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-functions.php b/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-functions.php
index d4a57fc..51542cd 100644
--- a/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-functions.php
+++ b/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-functions.php
@@ -921,8 +921,8 @@ public function enqueue_scripts() {
'contact_support' => esc_html__( 'Invalid response from server. Please contact plugin support', 'edwiser-bridge' ),
'contact_hosting' => esc_html__( 'The plugin is receiving an invalid response code from Moodle website or is unable to connect. Please contact your hosting provider.', 'edwiser-bridge' ),
'token_mismatch' => esc_html__( 'Token added does not match the token configured on the moodle site.', 'edwiser-bridge' ),
- 'not_authorized' => esc_html__( 'The user(s) used to create token on Moodle is(are) not site administrator(s) or manager(s) and therefore has limited access. This might lead to some issues with data synchronization.', 'edwiser-bridge' ),
- 'turn_off_debug_log' => esc_html__( 'Please turn off debug display(WP_DEBUG & WP_DEBUG_DISPLAY) in wp-config.php and disable debug mode on Moodle website as well to fix this issue.', 'edwiser-bridge' ),
+ 'not_authorized' => esc_html__( 'The user(s) associated with the token creation in Moodle are either not included in the web service\'s authorized users list or lack the required site administrator or manager roles. Consequently, their access is limited, which may result in issues with data synchronization.', 'edwiser-bridge' ),
+ 'turn_off_debug_log' => sprintf( esc_html__( 'Please turn off debug display(WP_DEBUG & WP_DEBUG_DISPLAY) in wp-config.php and disable debug mode on Moodle website as well to fix this issue. Click %s here %s to learn more.', 'edwiser-bridge' ), '', '' ),
'please_refresh' => esc_html__( 'Please refresh the page and check again. If the issue is still not resolved please contact support.', 'edwiser-bridge' ),
'wp_version_issue' => esc_html__( 'Your WordPress version is not supported. Please upgrade to the latest version.', 'edwiser-bridge' ),
'rest_disable_issue' => esc_html__( 'The REST API is disabled by either a Security plugin or some other plugin using hooks. It might also have been disabled in your server configuration. Please disable any security plugins and search for conflicts. If the issue doesnt get resolved contact the hosting provider to confirm that server configuration is not causing any issues.', 'edwiser-bridge' ),
diff --git a/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-templates.php b/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-templates.php
index 2128a24..8014ee8 100644
--- a/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-templates.php
+++ b/edwiser-bridge/admin/setup-wizard/class-eb-setup-wizard-templates.php
@@ -562,11 +562,12 @@ public function eb_setup_test_connection( $ajax = '1' ) {
+
-
+
@@ -575,7 +576,6 @@ public function eb_setup_test_connection( $ajax = '1' ) {
-
diff --git a/edwiser-bridge/includes/api/class-eb-connection-helper.php b/edwiser-bridge/includes/api/class-eb-connection-helper.php
index 468d9ee..8103874 100644
--- a/edwiser-bridge/includes/api/class-eb-connection-helper.php
+++ b/edwiser-bridge/includes/api/class-eb-connection-helper.php
@@ -436,7 +436,7 @@ public function create_response_message( $url, $message ) {
' . $message . '
-
' . sprintf( esc_html__( "Click %s Run Diagnostics %s button to get more details.", "edwiser-bridge" ), '', '' ) . '
+
' . sprintf( esc_html__( "Click %s Troubleshoot %s button to get more details.", "edwiser-bridge" ), '', '' ) . '