diff --git a/wp-includes/embed.php b/wp-includes/embed.php index 52481e179b..91e42691cc 100644 --- a/wp-includes/embed.php +++ b/wp-includes/embed.php @@ -523,7 +523,8 @@ JS; * @return array|false Response data on success, false if post doesn't exist. */ function get_oembed_response_data( $post, $width ) { - $post = get_post( $post ); + $post = get_post( $post ); + $width = absint( $width ); if ( ! $post ) { return false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 963b849b58..c9ba6f26dc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37548'; +$wp_version = '4.6-alpha-37549'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.