WordPress.org

Make WordPress Core

Ticket #21759: 21759.3.diff

File 21759.3.diff, 1.2 KB (added by SergeyBiryukov, 2 years ago)
  • wp-content/themes/twentytwelve/functions.php

     
    336336 
    337337        // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. 
    338338        if ( $tag_list ) { 
    339                 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 
     339                $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s by %4$s.', 'twentytwelve' ); 
    340340        } elseif ( $categories_list ) { 
    341                 $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 
     341                $utility_text = __( 'This entry was posted in %1$s on %3$s by %4$s.', 'twentytwelve' ); 
    342342        } else { 
    343                 $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 
     343                $utility_text = __( 'This entry was posted on %3$s by %4$s.', 'twentytwelve' ); 
    344344        } 
    345345 
    346346        printf( 
    347347                $utility_text, 
    348348                $categories_list, 
    349349                $tag_list, 
    350                 $date, 
    351                 $author 
     350                $date . '<span class="by-author"> ', 
     351                $author . '</span>' 
    352352        ); 
    353353} 
    354354endif;