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
This commit is contained in:
parent
3d9fc450b2
commit
6228058b64
@ -1008,7 +1008,7 @@ function wp_print_media_templates() {
|
||||
<img src="{{ attachment.url }}" />
|
||||
<# } #>
|
||||
</dt>
|
||||
<# if ( attachment.caption.trim() ) { #>
|
||||
<# if ( attachment.caption ) { #>
|
||||
<dd class="wp-caption-text gallery-caption">
|
||||
{{ attachment.caption }}
|
||||
</dd>
|
||||
|
Loading…
Reference in New Issue
Block a user