Changeset 29281
- Timestamp:
- 07/24/2014 06:03:58 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r29280 r29281 326 326 <# } #> 327 327 328 <# if ( 'audio' === data.type && data.meta && data.meta.bitrate ) { #>328 <# if ( 'audio' === data.type && data.meta.bitrate ) { #> 329 329 <div class="bitrate"> 330 330 <strong><?php _e( 'Bitrate:' ); ?></strong> {{ Math.round( data.meta.bitrate / 1000 ) }}kb/s -
trunk/src/wp-includes/media.php
r29271 r29281 2629 2629 ), 2630 2630 'editLink' => false, 2631 'meta' => false, 2631 2632 ); 2632 2633 … … 2726 2727 $response['meta'] = array(); 2727 2728 foreach ( wp_get_attachment_id3_keys( $attachment, 'js' ) as $key => $label ) { 2729 $response['meta'][ $key ] = false; 2730 2728 2731 if ( ! empty( $meta[ $key ] ) ) { 2729 2732 $response['meta'][ $key ] = $meta[ $key ];
Note: See TracChangeset
for help on using the changeset viewer.