Make WordPress Core

Ticket #25847: 25847.diff

File 25847.diff, 598 bytes (added by odysseygate, 13 years ago)
  • src/wp-includes/media-template.php

     
    416416                        <img src="{{ data.model.url }}" draggable="false" />
    417417                </div>
    418418
     419                /*
     420                 * The filter which switch disable_captions to null.
     421                 *
     422                 * @since 3.6.0
     423                 * @param string null Disable or enable captions.
     424                 */
    419425                <?php if ( ! apply_filters( 'disable_captions', '' ) ) : ?>
    420426                        <label class="setting caption">
    421427                                <span><?php _e('Caption'); ?></span>