mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: https://develop.svn.wordpress.org/trunk@15849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1027248cee
commit
43bfe31ce2
@ -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