Make WordPress Core

Ticket #24243: 24243.diff

File 24243.diff, 648 bytes (added by lancewillett, 11 years ago)
  • wp-includes/post-formats.php

     
    749749
    750750        if ( ! empty( $meta['quote_source_name'] ) ) {
    751751                $source = ( empty( $meta['quote_source_url'] ) ) ? $meta['quote_source_name'] : sprintf( '<a href="%s">%s</a>', esc_url( $meta['quote_source_url'] ), $meta['quote_source_name'] );
     752                $source = apply_filters( 'quote_source_dash', _x( '&#8212;', 'em dash' ) ) . '&#160;' . $source;
    752753                $quote .= sprintf( '<figcaption class="quote-caption">%s</figcaption>', $source );
    753754        }
    754755