oEmbed: Drop the trailing slash from the namespace.

Props swissspidy.
Fixes #34709.

Built from https://develop.svn.wordpress.org/trunk@35656


git-svn-id: http://core.svn.wordpress.org/trunk@35620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan McCue 2015-11-17 11:27:29 +00:00
parent ffc4d6965c
commit aa71d8b7ff
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ final class WP_oEmbed_Controller {
*/
$maxwidth = apply_filters( 'oembed_default_width', 600 );
register_rest_route( 'oembed/1.0/', '/embed', array(
register_rest_route( 'oembed/1.0', '/embed', array(
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_item' ),

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35655';
$wp_version = '4.4-beta4-35656';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.