Ticket #10162: dashboard.patch
File dashboard.patch, 695 bytes (added by , 16 years ago) |
---|
-
dashboard.php
644 644 $link = esc_url( strip_tags( $item->get_link() ) ); 645 645 646 646 $author = $item->get_author(); 647 $site_link = esc_url( strip_tags( $author->get_link() ) ); 647 if ($author) { 648 $site_link = esc_url( strip_tags( $author->get_link() ) ); 648 649 649 if ( !$publisher = esc_html( strip_tags( $author->get_name() ) ) ) 650 $publisher = __( 'Somebody' ); 650 if ( !$publisher = esc_html( strip_tags( $author->get_name() ) ) ) 651 $publisher = __( 'Somebody' ); 652 } 653 else { 654 $publisher = __( 'Somebody' ); 655 } 651 656 if ( $site_link ) 652 657 $publisher = "<a href='$site_link'>$publisher</a>"; 653 658 else