diff --git wp-includes/media-template.php wp-includes/media-template.php
index 86500ff..3099282 100644
|
|
function wp_print_media_templates() { |
891 | 891 | </div> |
892 | 892 | </div> |
893 | 893 | <div class="column-settings"> |
| 894 | |
| 895 | <# if ( data.attachment ) { #> |
| 896 | |
| 897 | <label class="setting title"> |
| 898 | <span><?php _e('Title'); ?></span> |
| 899 | <input type="text" value="{{ data.attachment.title }}" readonly /> |
| 900 | </label> |
| 901 | |
| 902 | <label class="setting attachment-path"> |
| 903 | <span><?php _e('Attachment URL'); ?></span> |
| 904 | <input type="text" value="{{ data.model.url }}" readonly /> |
| 905 | </label> |
| 906 | |
| 907 | <# }else{ #> |
| 908 | |
| 909 | <label class="setting attachment-path"> |
| 910 | <span><?php _e('Attachment URL'); ?></span> |
| 911 | <input type="text" data-setting="url" value="{{ data.model.url }}" /> |
| 912 | </label> |
| 913 | |
| 914 | <# } #> |
| 915 | |
894 | 916 | <?php |
895 | 917 | /** This filter is documented in wp-admin/includes/media.php */ |
896 | 918 | if ( ! apply_filters( 'disable_captions', '' ) ) : ?> |