Changeset 32773
- Timestamp:
- 06/14/2015 08:32:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r32609 r32773 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 endif; ?> 385 387 <# if ( 'audio' === data.type ) { #> 386 388 <?php foreach ( array( … … 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 endif; ?> 564 568 <# if ( 'audio' === data.type ) { #> 565 569 <?php foreach ( array(
Note: See TracChangeset
for help on using the changeset viewer.