WordPress.org

Make WordPress Core

Ticket #24905: 24905.diff

File 24905.diff, 874 bytes (added by obenland, 19 months ago)
  • wp-content/themes/twentythirteen/functions.php

     
    361361 * @return string The HTML-formatted post date. 
    362362 */ 
    363363function twentythirteen_entry_date( $echo = true ) { 
    364         $format_prefix = ( has_post_format( 'chat' ) || has_post_format( 'status' ) ) ? _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' ): '%2$s'; 
     364        $format_prefix = has_post_format( array( 'chat', 'status' ) ) ? _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' ) : '%2$s'; 
    365365 
    366366        $date = sprintf( '<span class="date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span>', 
    367367                esc_url( get_permalink() ),