Make WordPress Core

Ticket #25171: 25171.2.diff

File 25171.2.diff, 1.8 KB (added by DrewAPicture, 10 years ago)
  • src/wp-admin/includes/media.php

     
    24642464                 * @param array $fields {
    24652465                 *     An array of the attachment metadata keys and labels.
    24662466                 *
    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.
    24702470                 *     @type string 'length_formatted' Label to be shown before the field length_formatted.
    24712471                 * }
    24722472                 */
    24732473                $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:' ),
    24772477                        'length_formatted' => __( 'Length:' ),
    24782478                ) );
    24792479
     
    25112511                 *     An array of the attachment metadata keys and labels.
    25122512                 *
    25132513                 *     @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.
    25152515                 * }
    25162516                 */
    25172517                $audio_fields = apply_filters( 'audio_submitbox_misc_sections', array(
    25182518                        'dataformat' => __( 'Audio Format:' ),
    2519                         'codec' => __( 'Audio Codec:' )
     2519                        'codec'      => __( 'Audio Codec:' )
    25202520                ) );
    25212521
    25222522                foreach ( $audio_fields as $key => $label ):