@@ 74-76 (lines=3) @@ | ||
71 | ||
72 | foreach ( $matches as $match ) { |
|
73 | $params = $match[1] . $match[5]; |
|
74 | if ( in_array( $reg, array( 'regexp_ent', 'regexp_ent_squot' ), true ) ) { |
|
75 | $params = html_entity_decode( $params ); |
|
76 | } |
|
77 | ||
78 | $params = wp_kses_hair( $params, array( 'http' ) ); |
|
79 |
@@ 70-72 (lines=3) @@ | ||
67 | if ( in_array( $reg, array( 'ifr_regexp', 'ifr_regexp_ent', 'regexp', 'regexp_ent' ), true ) ) { |
|
68 | $params = $match[1]; |
|
69 | ||
70 | if ( in_array( $reg, array( 'ifr_regexp_ent', 'regexp_ent' ), true ) ) { |
|
71 | $params = html_entity_decode( $params ); |
|
72 | } |
|
73 | ||
74 | $params = wp_kses_hair( $params, array( 'http' ) ); |
|
75 |