Changeset 29105
- Timestamp:
- 07/11/2014 09:01:08 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29104 r29105 4634 4634 this.model.on( 'change:title', this._syncTitle, this ); 4635 4635 this.model.on( 'change:caption', this._syncCaption, this ); 4636 this.model.on( 'change:artist', this._syncArtist, this ); 4637 this.model.on( 'change:album', this._syncAlbum, this ); 4636 4638 this.model.on( 'change:percent', this.progress, this ); 4637 4639 -
trunk/src/wp-includes/media-template.php
r29104 r29105 523 523 <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} /> 524 524 </label> 525 <# if ( 'audio' === data.type ) { #> 526 <?php foreach ( array( 527 'artist' => __( 'Artist' ), 528 'album' => __( 'Album' ), 529 ) as $key => $label ) : ?> 530 <label class="setting" data-setting="<?php echo esc_attr( $key ) ?>"> 531 <span class="name"><?php echo $label ?></span> 532 <input type="text" value="{{ data.<?php echo $key ?> || data.meta.<?php echo $key ?> || '' }}" /> 533 </label> 534 <?php endforeach; ?> 535 <# } #> 525 536 <label class="setting" data-setting="caption"> 526 537 <span class="name"><?php _e('Caption'); ?></span>
Note: See TracChangeset
for help on using the changeset viewer.