Ticket #25171: 25171.2.diff
File 25171.2.diff, 1.8 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/media.php
2464 2464 * @param array $fields { 2465 2465 * An array of the attachment metadata keys and labels. 2466 2466 * 2467 * @type string 'mime_type' Label to be shown before the field mime_type.2468 * @type string 'year' Label to be shown before the field year.2469 * @type string 'genre' Label to be shown before the field genre.2467 * @type string 'mime_type' Label to be shown before the field mime_type. 2468 * @type string 'year' Label to be shown before the field year. 2469 * @type string 'genre' Label to be shown before the field genre. 2470 2470 * @type string 'length_formatted' Label to be shown before the field length_formatted. 2471 2471 * } 2472 2472 */ 2473 2473 $fields = apply_filters( 'media_submitbox_misc_sections', array( 2474 'mime_type' => __( 'Mime-type:' ),2475 'year' => __( 'Year:' ),2476 'genre' => __( 'Genre:' ),2474 'mime_type' => __( 'Mime-type:' ), 2475 'year' => __( 'Year:' ), 2476 'genre' => __( 'Genre:' ), 2477 2477 'length_formatted' => __( 'Length:' ), 2478 2478 ) ); 2479 2479 … … 2511 2511 * An array of the attachment metadata keys and labels. 2512 2512 * 2513 2513 * @type string 'dataformat' Label to be shown before the field dataformat. 2514 * @type string 'codec' Label to be shown before the field codec.2514 * @type string 'codec' Label to be shown before the field codec. 2515 2515 * } 2516 2516 */ 2517 2517 $audio_fields = apply_filters( 'audio_submitbox_misc_sections', array( 2518 2518 'dataformat' => __( 'Audio Format:' ), 2519 'codec' => __( 'Audio Codec:' )2519 'codec' => __( 'Audio Codec:' ) 2520 2520 ) ); 2521 2521 2522 2522 foreach ( $audio_fields as $key => $label ):