From 0fa23e069dfe9aeeb7c30da7a2af2493f1cc601c Mon Sep 17 00:00:00 2001 From: Bhavik Patel Date: Fri, 27 Mar 2020 15:08:46 +0530 Subject: [PATCH] Update class-sensei-lesson.php lesson allow video tags allowing any tags here that wp_kses_post allows --- includes/class-sensei-lesson.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sensei-lesson.php b/includes/class-sensei-lesson.php index 21964125f6..419036113d 100755 --- a/includes/class-sensei-lesson.php +++ b/includes/class-sensei-lesson.php @@ -32,7 +32,7 @@ public function __construct() { $this->question_order = ''; - $this->allowed_html = Sensei_Wp_Kses::get_default_wp_kses_allowed_html(); + $this->allowed_html = array_merge( Sensei_Wp_Kses::get_default_wp_kses_allowed_html(), wp_kses_allowed_html( 'post' ) ); // Admin actions if ( is_admin() ) {