mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
bed9d00fbd
commit
7cb4cc175b
@ -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'] );
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user