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:
parent
ffc4d6965c
commit
aa71d8b7ff
|
@ -31,7 +31,7 @@ final class WP_oEmbed_Controller {
|
||||||
*/
|
*/
|
||||||
$maxwidth = apply_filters( 'oembed_default_width', 600 );
|
$maxwidth = apply_filters( 'oembed_default_width', 600 );
|
||||||
|
|
||||||
register_rest_route( 'oembed/1.0/', '/embed', array(
|
register_rest_route( 'oembed/1.0', '/embed', array(
|
||||||
array(
|
array(
|
||||||
'methods' => WP_REST_Server::READABLE,
|
'methods' => WP_REST_Server::READABLE,
|
||||||
'callback' => array( $this, 'get_item' ),
|
'callback' => array( $this, 'get_item' ),
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue