WordPress.org

Make WordPress Core

Changeset 15849


Ignore:
Timestamp:
10/19/10 10:52:46 (5 years ago)
Author:
dd32
Message:

Prevent Notices in Incoming links widget. Fixes #14617

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r15830 r15849  
    776776            $text = __( '%1$s linked here saying, "%3$s"' ); 
    777777 
    778         if ( $show_date ) { 
    779             if ( $show_author || $show_summary ) 
     778        if ( !empty($show_date) ) { 
     779            if ( !empty($show_author) || !empty($show_summary) ) 
    780780                /* translators: incoming links feed, %4$s is the date */ 
    781781                $text .= ' ' . __( 'on %4$s' ); 
Note: See TracChangeset for help on using the changeset viewer.