Embeds: Enforce, via unit tests, the no-ampersand rule for wp-embed.js.

fixes #34698.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2015-12-04 05:46:25 +00:00
parent 8cf8e2c66d
commit 9834e9993a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
/**
* WordPress inline HTML embed
*
* @since 4.4.0
*
* This file cannot have ampersands in it. This is to ensure
* it can be embedded in older versions of WordPress.
* See https://core.trac.wordpress.org/changeset/35708.
*/
(function ( window, document ) {
'use strict';

View File

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