File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class Just_Theme_Framework_Checker {
6262 private function __construct () {
6363 global $ pagenow ;
6464 if ( ! is_admin () && 'wp-login.php ' !== $ pagenow && ! $ this ->check_requirements () ) {
65- throw new Exception ( 'Your theme requires Just Theme Framework and Titan Framework plugins to be installed and activated. ' );
65+ throw new Exception ( 'Your theme requires WordPress Theme Framework plugin to be installed and activated. ' );
6666 }
6767 add_action ( 'admin_notices ' , array ( $ this , 'display_requirements_admin_notice ' ) );
6868 }
@@ -124,7 +124,17 @@ public function display_requirements_admin_notice() {
124124 $ html = '<div class="error"><h3>Please fix the errors below to use current activated theme:</h3><p> '
125125 . implode ( '</p><p> ' , $ warnings )
126126 . '</p></div> ' ;
127- echo wp_kses ( $ html , array ( 'div ' , 'h3 ' , 'p ' ) );
127+ echo wp_kses ( $ html , array (
128+ 'div ' => [
129+ 'class ' => true ,
130+ ],
131+ 'h3 ' => true ,
132+ 'p ' => true ,
133+ 'a ' => [
134+ 'href ' => true ,
135+ 'target ' => true ,
136+ ],
137+ ) );
128138 }
129139 }
130140
You can’t perform that action at this time.
0 commit comments