From 7cb4cc175b1e8cae2d44760ee20fa58659dfd44f Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 13 Jul 2021 18:01:58 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-widgets.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-customize-widgets.php b/src/wp-includes/class-wp-customize-widgets.php index d5cae766b9..9df026d5b2 100644 --- a/src/wp-includes/class-wp-customize-widgets.php +++ b/src/wp-includes/class-wp-customize-widgets.php @@ -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'] ); }