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 {
62
62
private function __construct () {
63
63
global $ pagenow ;
64
64
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. ' );
66
66
}
67
67
add_action ( 'admin_notices ' , array ( $ this , 'display_requirements_admin_notice ' ) );
68
68
}
@@ -124,7 +124,17 @@ public function display_requirements_admin_notice() {
124
124
$ html = '<div class="error"><h3>Please fix the errors below to use current activated theme:</h3><p> '
125
125
. implode ( '</p><p> ' , $ warnings )
126
126
. '</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
+ ) );
128
138
}
129
139
}
130
140
You can’t perform that action at this time.
0 commit comments