From de31d6f81c302c86ff0544130c04c15c2974ffde Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 25 Jul 2017 16:13:45 +0000 Subject: [PATCH] Widgets: make the Recent Posts widget output '(no title)' for posts without a title. Since WordPress 2.3, the Recent Posts widget used to output the post ID for posts with an empty title. Using '(no title)' seems a best option and is consistent with what's already used in other similar cases. Props antonrinas, Ankit K Gupta. Fixes #35709. Built from https://develop.svn.wordpress.org/trunk@41149 git-svn-id: http://core.svn.wordpress.org/trunk@40989 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-recent-posts.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 02cae5f3ea..4d6db8d6c8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41148'; +$wp_version = '4.9-alpha-41149'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-recent-posts.php b/wp-includes/widgets/class-wp-widget-recent-posts.php index 9483b97e27..6e21d07691 100644 --- a/wp-includes/widgets/class-wp-widget-recent-posts.php +++ b/wp-includes/widgets/class-wp-widget-recent-posts.php @@ -82,7 +82,7 @@ class WP_Widget_Recent_Posts extends WP_Widget {