WordPress.org

Make WordPress Core

Ticket #20644: 20644.2.diff

File 20644.2.diff, 1.1 KB (added by SergeyBiryukov, 2 years ago)
  • wp-admin/includes/dashboard.php

     
    819819                        /* translators: incoming links feed, %1$s is other person, %3$s is content */ 
    820820                        $text = __( '%1$s linked here saying, "%3$s"' ); 
    821821 
    822                 if ( !empty($show_date) ) { 
    823                         if ( !empty($show_author) || !empty($show_summary) ) 
    824                                 /* translators: incoming links feed, %4$s is the date */ 
    825                                 $text .= ' ' . __( 'on %4$s' ); 
     822                if ( !empty( $show_date ) ) { 
     823                        if ( $link ) 
     824                                /* translators: incoming links feed, %1$s is other person, %3$s is content, %4$s is the date */ 
     825                                $text = __( '%1$s linked here <a href="%2$s">saying</a>, "%3$s" on %4$s' ); 
     826                        else 
     827                                /* translators: incoming links feed, %1$s is other person, %3$s is content, %4$s is the date */ 
     828                                $text = __( '%1$s linked here saying, "%3$s" on %4$s' ); 
    826829                        $date = esc_html( strip_tags( $item->get_date() ) ); 
    827830                        $date = strtotime( $date ); 
    828831                        $date = gmdate( get_option( 'date_format' ), $date );