Make WordPress Core

Ticket #23347: 23347.11.diff

File 23347.11.diff, 913 bytes (added by obenland, 11 years ago)
  • wp-includes/post-formats.php

     
    342342                        if ( ! empty( $meta['quote'] ) && ! stristr( $content, $meta['quote'] ) ) {
    343343                                $quote = sprintf( '<blockquote>%s</blockquote>', wpautop( $meta['quote'] ) );
    344344                                if ( ! empty( $meta['quote_source'] ) ) {
    345                                         $source = ( empty( $quote_meta['url'] ) ) ? $meta['quote_source'] : sprintf( '<a href="%s">%s</a>', esc_url( $meta['url'] ), $meta['quote_source'] );
     345                                        $source = ( empty( $meta['url'] ) ) ? $meta['quote_source'] : sprintf( '<a href="%s">%s</a>', esc_url( $meta['url'] ), $meta['quote_source'] );
    346346                                        $quote .= sprintf( '<figcaption class="quote-caption">%s</figcaption>', $source );
    347347                                }
    348348                                $format_output .= sprintf( '<figure class="quote">%s</figure>', $quote );