Skip to content

Commit 5c83bf4

Browse files
committed
added iframe tag to allowed tag
1 parent c6a9f26 commit 5c83bf4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/wp-admin/css/common.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2969,6 +2969,11 @@ div.action-links {
29692969
line-height: 1.7;
29702970
}
29712971

2972+
#plugin-information #section-description iframe {
2973+
width: 100%;
2974+
height: auto;
2975+
}
2976+
29722977
#plugin-information #section-screenshots ol {
29732978
list-style: none;
29742979
margin: 0;

src/wp-admin/includes/plugin-install.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ function install_plugin_information() {
567567
'alt' => array(),
568568
),
569569
'blockquote' => array( 'cite' => true ),
570+
'iframe' => array( 'src' => array(), 'width' => array(), 'height' => array(), 'frameborder' => array(), 'allowfullscreen' => array() ),
570571
);
571572

572573
$plugins_section_titles = array(

0 commit comments

Comments
 (0)