WordPress.org

Make WordPress Core

Ticket #23511: 23511.diff

File 23511.diff, 524 bytes (added by PotterSys, 3 years ago)

Quick fix to oEmbed not being shown on asides

  • wp-content/themes/twentythirteen/functions.php

     
    538538 */ 
    539539function twentythirteen_aside_date( $content ) { 
    540540        if ( ! is_feed() && has_post_format( 'aside' ) ) { 
    541                 $content .= twentythirteen_entry_date( false ); 
     541                $content .= "\n" . twentythirteen_entry_date( false ); 
    542542        } 
    543543        return $content; 
    544544}