Coding Standards: Use the correct formatting for multi-line comments.

Follow up to [51414].

git-svn-id: https://develop.svn.wordpress.org/trunk@51423 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-07-13 18:01:58 +00:00
parent bed9d00fbd
commit 7cb4cc175b

View File

@ -1420,9 +1420,11 @@ final class WP_Customize_Widgets {
$widget_object = $wp_widget_factory->get_widget_object( $id_base );
if ( ! empty( $widget_object->widget_options['show_instance_in_rest'] ) ) {
if ( 'block' === $id_base && ! current_user_can( 'unfiltered_html' ) ) {
// The content of the 'block' widget is not filtered on the
// fly while editing. Filter the content here to prevent
// vulnerabilities.
/*
* The content of the 'block' widget is not filtered on the
* fly while editing. Filter the content here to prevent
* vulnerabilities.
*/
$value['raw_instance']['content'] = wp_kses_post( $value['raw_instance']['content'] );
}