diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php
index f5f03b4..5b9ee3e 100644
a
|
b
|
function get_content_quote( &$content, $remove = false, $replace = '' ) { |
727 | 727 | * @since 3.6.0 |
728 | 728 | * |
729 | 729 | * @uses get_content_quote() |
| 730 | * @uses apply_filters() Calls 'quote_source_format' filter to allow changing the |
| 731 | * the typographical mark added to the quote source (em-dash prefix, by default) |
730 | 732 | * |
731 | 733 | * @param object $post (optional) A reference to the post object, falls back to get_post(). |
732 | 734 | * @return string The quote html. |
… |
… |
function get_the_post_format_quote( &$post = null ) { |
749 | 751 | |
750 | 752 | if ( ! empty( $meta['quote_source_name'] ) ) { |
751 | 753 | $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'] ); |
| 754 | $source = sprintf( apply_filters( 'quote_source_format', __( '— %s' ) ), $source ); |
752 | 755 | $quote .= sprintf( '<figcaption class="quote-caption">%s</figcaption>', $source ); |
753 | 756 | } |
754 | 757 | |