Make WordPress Core

Ticket #28185: 28185.diff

File 28185.diff, 808 bytes (added by kevdotbadger, 10 years ago)
  • wp-includes/media-template.php

    diff --git wp-includes/media-template.php wp-includes/media-template.php
    index 86500ff..483adc5 100644
    function wp_print_media_templates() { 
    891891                                        </div>
    892892                                </div>
    893893                                <div class="column-settings">
     894                               
     895                                        <label class="setting title">
     896                                                <span><?php _e('Title'); ?></span>
     897                                                <input type="text" value="{{ data.attachment.title }}" readonly />
     898                                        </label>   
     899                                       
     900                                        <label class="setting attachment-path">
     901                                                <span><?php _e('Attachment URL'); ?></span>
     902                                                <input type="text" value="{{ data.attachment.url }}" readonly />
     903                                        </label>
     904                               
    894905                                        <?php
    895906                                        /** This filter is documented in wp-admin/includes/media.php */
    896907                                        if ( ! apply_filters( 'disable_captions', '' ) ) : ?>