From ed9028c4086ff5628bc766f8fc89aa997bbbdd49 Mon Sep 17 00:00:00 2001 From: dd32 Date: Tue, 19 Oct 2010 10:52:46 +0000 Subject: [PATCH] Prevent Notices in Incoming links widget. Fixes #14617 git-svn-id: http://svn.automattic.com/wordpress/trunk@15849 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 460e5d15a4..5a5d2fb152 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -775,8 +775,8 @@ function wp_dashboard_incoming_links_output() { /* translators: incoming links feed, %1$s is other person, %3$s is content */ $text = __( '%1$s linked here saying, "%3$s"' ); - if ( $show_date ) { - if ( $show_author || $show_summary ) + if ( !empty($show_date) ) { + if ( !empty($show_author) || !empty($show_summary) ) /* translators: incoming links feed, %4$s is the date */ $text .= ' ' . __( 'on %4$s' ); $date = esc_html( strip_tags( $item->get_date() ) );