Skip to content

Commit addb385

Browse files
committed
allow classes
1 parent e2e88a2 commit addb385

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

advanced-responsive-video-embedder.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
const ADDON_NAMES = array( 'RandomVideo', 'Pro', 'Privacy', 'StickyVideos', 'AMP' );
3939
// For error messages and stuff on the admin screens.
4040
const ALLOWED_HTML = array(
41-
'h1' => array(),
42-
'h2' => array(),
43-
'h3' => array(),
44-
'h4' => array(),
45-
'h5' => array(),
46-
'h6' => array(),
41+
'h1' => array( 'class' => true ),
42+
'h2' => array( 'class' => true ),
43+
'h3' => array( 'class' => true ),
44+
'h4' => array( 'class' => true ),
45+
'h5' => array( 'class' => true ),
46+
'h6' => array( 'class' => true ),
4747
'a' => array(
4848
'href' => true,
4949
'target' => true,

0 commit comments

Comments
 (0)