Make WordPress Core

Changeset 28683


Ignore:
Timestamp:
06/06/2014 01:49:44 AM (11 years ago)
Author:
azaozz
Message:

Fix JS error in tmpl-editor-gallery, 'string'.trim() is not available in IE < 9. See #28089

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r28682 r28683  
    10091009                            <# } #>
    10101010                        </dt>
    1011                         <# if ( attachment.caption.trim() ) { #>
     1011                        <# if ( attachment.caption ) { #>
    10121012                            <dd class="wp-caption-text gallery-caption">
    10131013                                {{ attachment.caption }}
Note: See TracChangeset for help on using the changeset viewer.