diff --git a/wp-includes/embed-functions.php b/wp-includes/embed-functions.php index 7b82824e4c..aef67914d6 100644 --- a/wp-includes/embed-functions.php +++ b/wp-includes/embed-functions.php @@ -746,26 +746,27 @@ function wp_filter_oembed_result( $result, $data, $url ) { } /** - * Filters the string in the "more" link displayed after a trimmed excerpt. + * Filters the string in the 'more' link displayed after a trimmed excerpt. + * + * Replaces '[...]' (appended to automatically generated excerpts) with an + * ellipsis and a "Continue reading" link in the embed template. * * @since 4.4.0 * - * @param string $more_string The string shown within the more link. - * @return string The modified excerpt. + * @param string $more_string Default 'more' string. + * @return string 'Continue reading' link prepended with an ellipsis. */ function wp_embed_excerpt_more( $more_string ) { if ( ! is_embed() ) { return $more_string; } - return sprintf( - _x( '… %s', 'read more link' ), - sprintf( - '%s', - get_the_permalink(), - __( 'Read more' ) - ) + $link = sprintf( '%2$s', + esc_url( get_permalink() ), + /* translators: %s: Name of current post */ + sprintf( __( 'Continue reading %s' ), '' . get_the_title() . '' ) ); + return ' … ' . $link; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 7dedec42aa..5a4f60761b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35431'; +$wp_version = '4.4-beta2-35432'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.