Ticket #23347: 23347.11.diff
File 23347.11.diff, 913 bytes (added by , 11 years ago) |
---|
-
wp-includes/post-formats.php
342 342 if ( ! empty( $meta['quote'] ) && ! stristr( $content, $meta['quote'] ) ) { 343 343 $quote = sprintf( '<blockquote>%s</blockquote>', wpautop( $meta['quote'] ) ); 344 344 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'] ); 346 346 $quote .= sprintf( '<figcaption class="quote-caption">%s</figcaption>', $source ); 347 347 } 348 348 $format_output .= sprintf( '<figure class="quote">%s</figure>', $quote );