Skip to content

Commit 4a68adb

Browse files
committed
Fix: Add em tag with style/class to allowed HTML in settings form
1 parent 4882c16 commit 4a68adb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

includes/admin/settings/class-settings-form.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ protected function get_allowed_html(): array {
219219
'style' => true,
220220
'disabled' => true,
221221
),
222+
'em' => array(
223+
'style' => true,
224+
'class' => true,
225+
),
222226
);
223227

224228
$allowed = array_replace_recursive( $allowed, $form_tags );

0 commit comments

Comments
 (0)