Changeset 23822 for trunk/wp-includes/post-formats.php
- Timestamp:
- 03/27/2013 07:21:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-formats.php
r23819 r23822 341 341 case 'quote': 342 342 if ( ! empty( $meta['quote'] ) && ! stristr( $content, $meta['quote'] ) ) { 343 $ format_output .= sprintf( '<blockquote>%s</blockquote>', $meta['quote']);343 $quote = sprintf( '<blockquote>%s</blockquote>', wpautop( $meta['quote'] ) ); 344 344 if ( ! empty( $meta['quote_source'] ) ) { 345 $format_output .= sprintf( 346 '<cite>%s</cite>', 347 ! empty( $meta['url'] ) ? 348 sprintf( '<a href="%s">%s</a>', esc_url( $meta['url'] ), $meta['quote_source'] ) : 349 $meta['quote_source'] 350 ); 345 $source = ( empty( $quote_meta['url'] ) ) ? $meta['quote_source'] : sprintf( '<a href="%s">%s</a>', esc_url( $meta['url'] ), $meta['quote_source'] ); 346 $quote .= sprintf( '<figcaption class="quote-caption">%s</figcaption>', $source ); 351 347 } 348 $format_output .= sprintf( '<figure class="quote">%s</figure>', $quote ); 352 349 } 353 350 break;
Note: See TracChangeset
for help on using the changeset viewer.