Skip to content

Commit e8737f4

Browse files
Remove unused code
1 parent 8585704 commit e8737f4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

inc/validation.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,6 @@ function ppom_esc_html( $content ) {
7272
$allowedposttags['a'] = $allowed_atts;
7373
$allowedposttags['b'] = $allowed_atts;
7474
$allowedposttags['i'] = $allowed_atts;
75-
$allowedposttags['svg'] = array(
76-
'width' => true,
77-
'height' => true,
78-
'role' => true,
79-
'xmlns' => true,
80-
'viewBox' => true,
81-
);
82-
$allowedposttags['path'] = array(
83-
'fill' => true,
84-
'd' => true,
85-
);
86-
8775
$allowed_tags = wp_kses_allowed_html( 'post' );
8876

8977
return wp_kses( stripslashes_deep( $content ), $allowed_tags );

0 commit comments

Comments
 (0)