From d593293556255a7539052bd1e1d0e1be8f20e934 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 6 Jun 2014 01:50:16 +0000 Subject: [PATCH] Fix JS error in tmpl-editor-gallery, `'string'.trim()` is not available in IE < 9. See #28089 Built from https://develop.svn.wordpress.org/trunk@28683 git-svn-id: http://core.svn.wordpress.org/trunk@28501 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index d0869c0af4..7ef4f041e3 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -1008,7 +1008,7 @@ function wp_print_media_templates() { <# } #> - <# if ( attachment.caption.trim() ) { #> + <# if ( attachment.caption ) { #> diff --git a/wp-includes/version.php b/wp-includes/version.php index 6b8acb6365..d960fe8be3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.0-alpha-20140605'; +$wp_version = '4.0-alpha-20140606'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.