Skip to content

Commit ccfb1fd

Browse files
feat: add optgroup label support in feed options sanitizer (#1101)
1 parent 1b19d05 commit ccfb1fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

includes/feedzy-rss-feeds-feed-tweaks.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,10 @@ function ( $allowed_html = array() ) {
445445
'class' => array(),
446446
'selected' => array(),
447447
),
448+
'optgroup' => array(
449+
'label' => array(),
450+
'disabled' => array(),
451+
),
448452
'input' => array(
449453
'type' => array(),
450454
'id' => array(),

0 commit comments

Comments
 (0)