From 1fc5c8e8a94011bf57978a5b1ee7aa806570f019 Mon Sep 17 00:00:00 2001 From: "Md.Harun-Ur-Rashid" Date: Thu, 21 Sep 2023 15:21:10 +0600 Subject: [PATCH] update what new page --- views/pages/whats-new.php | 78 +++------------------------------------ 1 file changed, 6 insertions(+), 72 deletions(-) diff --git a/views/pages/whats-new.php b/views/pages/whats-new.php index 1740b87f6..ba0b5fd78 100644 --- a/views/pages/whats-new.php +++ b/views/pages/whats-new.php @@ -8,73 +8,7 @@ * @since 2.2.4 */ -$changelogs = array( - 'new' => array( - array( - 'title' => 'Option to secure course content against hotlinking', - 'is_pro' => true, - ), - array( - 'title' => 'Option to disable right-click to prevent content copying', - 'is_pro' => true, - ), - array( - 'title' => 'Hide recommended YouTube videos on Tutor Player', - 'is_pro' => true, - ), - array( - 'title' => 'Course review submission popup on automatic course completion', - ), - array( - 'title' => 'Course permalink base is now updatable (supports any language)', - ), - ), - 'update' => array( - array( - 'title' => 'The "Mark as complete" button is visible after the start of the Zoom/Google Meet meeting', - ), - array( - 'title' => 'Tutor LMS settings navigation bar is now sticky', - ), - ), - 'fix' => array( - array( - 'title' => 'Email formatting issues on Gmail and Outlook web versions', - ), - array( - 'title' => 'Resolved incorrect time issue on the on-site notification system', - ), - array( - 'title' => 'Addressed various translation-related issues', - ), - array( - 'title' => 'Resolved known security issues', - ), - array( - 'title' => 'Several other known issues', - ), - ), -); - - -/** - * Whats new item. - * - * @param string $type type of item. - * @param string $log changelog item. - * - * @return void - */ -function tutor_whatnew_item( $type, $log ) { - $obj = (object) $log; - ?> -
  • : title ); ?> - is_pro ) && $obj->is_pro ) : - ?> - Pro
  • -
    @@ -137,11 +71,11 @@ function tutor_whatnew_item( $type, $log ) {

    What's New 🥳 in Tutor LMS

    - +

    You are using Tutor LMS (v)
    Here are features and improvements made to this version!

    - +
    @@ -157,15 +91,15 @@ function tutor_whatnew_item( $type, $log ) {