Ticket #23932: 23932-6.patch
File 23932-6.patch, 1.3 KB (added by , 9 years ago) |
---|
-
src/wp-includes/media-template.php
378 378 <input type="text" value="{{ data.url }}" readonly /> 379 379 </label> 380 380 <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> 381 <?php if ( post_type_supports('attachment', 'title') ) { ?> 381 382 <label class="setting" data-setting="title"> 382 383 <span class="name"><?php _e('Title'); ?></span> 383 384 <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} /> 384 385 </label> 386 <?php } ?> 385 387 <# if ( 'audio' === data.type ) { #> 386 388 <?php foreach ( array( 387 389 'artist' => __( 'Artist' ), … … 557 559 <input type="text" value="{{ data.url }}" readonly /> 558 560 </label> 559 561 <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> 562 <?php if ( post_type_supports('attachment', 'title') ) { ?> 560 563 <label class="setting" data-setting="title"> 561 564 <span class="name"><?php _e('Title'); ?></span> 562 565 <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} /> 563 566 </label> 567 <?php } ?> 564 568 <# if ( 'audio' === data.type ) { #> 565 569 <?php foreach ( array( 566 570 'artist' => __( 'Artist' ),