<?php
esc_html_e( 'Content:'
); ?></label>
<textarea id="{{ elementIdPrefix }}content" class="widefat code content" rows="16" cols="20"></textarea>
</p>
<?php
if ( !
current_user_can( 'unfiltered_html'
) ) : ?>
<?php
$probably_unsafe_html = array
( 'script', 'iframe', 'form', 'input', 'style'
);
$allowed_html =
wp_kses_allowed_html( 'post'
);
$disallowed_html =
array_diff( $probably_unsafe_html,
array_keys( $allowed_html ) );
?>
<?php
if ( !
empty( $disallowed_html ) ) : ?>
<# if ( data.codeEditorDisabled ) { #>
<p>
<?php
_e( 'Some HTML tags are not permitted, including:'
); ?>
<code><?php
echo implode( '</code>, <code>',
$disallowed_html ); ?></code>
</p>
<# } #>
<?php
endif; ?>
<?php
endif; ?>