diff --git a/wp-includes/class-wp-oembed-controller.php b/wp-includes/class-wp-oembed-controller.php index 0fc25ba817..2da7f3e5db 100644 --- a/wp-includes/class-wp-oembed-controller.php +++ b/wp-includes/class-wp-oembed-controller.php @@ -88,7 +88,7 @@ final class WP_oEmbed_Controller { if ( false === $data ) { status_header( 404 ); - return __( 'Invalid URL.', 'oembed-api' ); + return __( 'Invalid URL.' ); } if ( 'json' === $request['format'] ) { diff --git a/wp-includes/embed-functions.php b/wp-includes/embed-functions.php index ad5bfd711e..9e13c6e539 100644 --- a/wp-includes/embed-functions.php +++ b/wp-includes/embed-functions.php @@ -484,7 +484,7 @@ JS; esc_url( $embed_url ), absint( $width ), absint( $height ), - esc_attr__( 'Embedded WordPress Post', 'oembed-api' ) + esc_attr__( 'Embedded WordPress Post' ) ); /** @@ -748,11 +748,11 @@ function wp_oembed_excerpt_more( $more_string ) { } return sprintf( - _x( '… %s', 'read more link', 'oembed-api' ), + _x( '… %s', 'read more link' ), sprintf( '%s', get_the_permalink(), - __( 'Read more', 'oembed-api' ) + __( 'Read more' ) ) ); } diff --git a/wp-includes/embed-template.php b/wp-includes/embed-template.php index 5cfa8e30d1..7a70b1ddd7 100644 --- a/wp-includes/embed-template.php +++ b/wp-includes/embed-template.php @@ -161,8 +161,7 @@ if ( have_posts() ) : _n( '%s Comment', '%s Comments', - get_comments_number(), - 'oembed-api' + get_comments_number() ), absint( get_comments_number() ) ); @@ -172,7 +171,7 @@ if ( have_posts() ) :
@@ -183,29 +182,29 @@ if ( have_posts() ) :

- +

- @@ -216,10 +215,10 @@ if ( have_posts() ) : else : ?>
-

+

-

+