From 765445ee61f5f1ae90bea38c42f1abf94dfe328c Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 25 Jul 2017 16:12:29 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@41149 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/widgets/class-wp-widget-recent-posts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/widgets/class-wp-widget-recent-posts.php b/src/wp-includes/widgets/class-wp-widget-recent-posts.php index 9483b97e27..6e21d07691 100644 --- a/src/wp-includes/widgets/class-wp-widget-recent-posts.php +++ b/src/wp-includes/widgets/class-wp-widget-recent-posts.php @@ -82,7 +82,7 @@ class WP_Widget_Recent_Posts extends WP_Widget {