From 6228058b642bf637b2faee9875df42b5ca495bfc Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 6 Jun 2014 01:49:44 +0000 Subject: [PATCH] Fix JS error in tmpl-editor-gallery, `'string'.trim()` is not available in IE < 9. See #28089 git-svn-id: https://develop.svn.wordpress.org/trunk@28683 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index d0869c0af4..7ef4f041e3 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -1008,7 +1008,7 @@ function wp_print_media_templates() { <# } #> - <# if ( attachment.caption.trim() ) { #> + <# if ( attachment.caption ) { #>