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:
parent
8cf8e2c66d
commit
9834e9993a
|
@ -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 ) {
|
(function ( window, document ) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue