mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: http://svn.automattic.com/wordpress/trunk@15849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0c1eb68663
commit
ed9028c408
@ -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() ) );
|
||||
|
Loading…
Reference in New Issue
Block a user