From 9834e9993af35e9212ff59ab27898616e1b039d0 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 4 Dec 2015 05:46:25 +0000 Subject: [PATCH] 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 --- wp-includes/js/wp-embed.js | 9 +++++++++ wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/wp-includes/js/wp-embed.js b/wp-includes/js/wp-embed.js index 985f0b801d..660558e03b 100644 --- a/wp-includes/js/wp-embed.js +++ b/wp-includes/js/wp-embed.js @@ -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'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 144ee21419..90f39fb2fa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.