From a17fcecfda3f2e3e3707c6226f95489c76786e47 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 24 Jul 2017 23:15:34 +0000 Subject: [PATCH] Widgets: Improve notice in Text widget's legacy mode. Retains 'new' in notice on 4.8 branch, in contrast with [41134]. Also fixes phpunit test which broke in [41132]. Merges [41134] onto 4.8 branch. Props melchoyce, westonruter. See #41394, #35243, #40951, #40907. Fixes #41386 for 4.8.1. Built from https://develop.svn.wordpress.org/branches/4.8@41135 git-svn-id: http://core.svn.wordpress.org/branches/4.8@40975 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-text.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 45f6f07266..242968c4de 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8.1-beta1-41133'; +$wp_version = '4.8.1-beta1-41135'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-text.php b/wp-includes/widgets/class-wp-widget-text.php index 912c6181bb..d317e00ec0 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -360,7 +360,11 @@ class WP_Widget_Text extends WP_Widget {

-

+ +

+ +

+