diff --git a/changelog/add-hpps-instructions b/changelog/add-hpps-instructions new file mode 100644 index 0000000000..c50cf26dbf --- /dev/null +++ b/changelog/add-hpps-instructions @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Include instructions to the High-Performance Progress Storage settings screen diff --git a/includes/class-sensei-settings.php b/includes/class-sensei-settings.php index 15dfce275c..49d44149e5 100755 --- a/includes/class-sensei-settings.php +++ b/includes/class-sensei-settings.php @@ -860,6 +860,14 @@ public function init_fields() { 'default' => false, 'section' => 'sensei-experimental-features', ); + $fields['experimental_progress_storage_synchronization'] = array( + 'name' => '', + 'description' => __( 'Synchronize the student progress between storages.', 'sensei-lms' ), + 'form' => 'render_progress_storage_synchronization', + 'type' => 'checkbox', + 'default' => false, + 'section' => 'sensei-experimental-features', + ); $fields['experimental_progress_storage_repository'] = array( 'name' => '', // , 'description' => __( 'Choose a repository to store the progress and quiz submissions of your students.', 'sensei-lms' ), @@ -869,14 +877,6 @@ public function init_fields() { 'section' => 'sensei-experimental-features', 'options' => Progress_Storage_Settings::get_storage_repositories(), ); - $fields['experimental_progress_storage_synchronization'] = array( - 'name' => '', - 'description' => __( 'Synchronize the student progress between storages.', 'sensei-lms' ), - 'form' => 'render_progress_storage_synchronization', - 'type' => 'checkbox', - 'default' => false, - 'section' => 'sensei-experimental-features', - ); } /** @@ -1220,11 +1220,21 @@ class="sensei-settings_progress-storage-feature" +

+

+
    +
  1. +
  2. +
  3. +
  4. +
  5. +
+

docs.', 'sensei-lms' ) ); ?>

assets->enqueue( 'sensei-experimental-features-progress-storage', 'js/admin/settings/experimental-features.js', array( 'jquery' ), true );