Changeset 29106 for trunk/src/wp-includes/media.php
- Timestamp:
- 07/11/2014 09:55:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r29029 r29106 1464 1464 $fields['year'] = __( 'Year' ); 1465 1465 $fields['length_formatted'] = _x( 'Length', 'video or audio' ); 1466 } elseif ( 'js' === $context ) { 1467 $fields['bitrate'] = __( 'Bitrate' ); 1468 $fields['bitrate_mode'] = __( 'Bitrate Mode' ); 1466 1469 } 1467 1470 … … 2717 2720 2718 2721 $response['meta'] = array(); 2719 foreach ( wp_get_attachment_id3_keys( $attachment ) as $key => $label ) {2722 foreach ( wp_get_attachment_id3_keys( $attachment, 'js' ) as $key => $label ) { 2720 2723 if ( ! empty( $meta[ $key ] ) ) { 2721 2724 $response['meta'][ $key ] = $meta[ $key ];
Note: See TracChangeset
for help on using the changeset viewer.