diff --git a/wp-includes/version.php b/wp-includes/version.php index f76d23281a..ed17faab5e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43274'; +$wp_version = '5.0-alpha-43275'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index dc6ce99322..467647c320 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -426,7 +426,7 @@ function wp_sidebar_description( $id ) { global $wp_registered_sidebars; if ( isset( $wp_registered_sidebars[ $id ]['description'] ) ) { - return esc_html( $wp_registered_sidebars[ $id ]['description'] ); + return wp_kses( $wp_registered_sidebars[ $id ]['description'], 'sidebar_description' ); } }