Ticket #25171: 25171.patch
File 25171.patch, 804 bytes (added by , 10 years ago) |
---|
-
media.php
2452 2452 <?php 2453 2453 if ( preg_match( '#^audio|video#', $post->post_mime_type ) ): 2454 2454 2455 $fields = a rray(2455 $fields = apply_filters( 'manage_media_misc_sections', array( 2456 2456 'mime_type' => __( 'Mime-type:' ), 2457 2457 'year' => __( 'Year:' ), 2458 2458 'genre' => __( 'Genre:' ), 2459 2459 'length_formatted' => __( 'Length:' ), 2460 ) ;2460 ) ); 2461 2461 2462 2462 foreach ( $fields as $key => $label ): 2463 2463 if ( ! empty( $meta[$key] ) ) : ?> … … 2481 2481 <?php 2482 2482 endif; 2483 2483 2484 $audio_fields = a rray(2484 $audio_fields = apply_filters( 'manage_audio_misc_sections', array( 2485 2485 'dataformat' => __( 'Audio Format:' ), 2486 2486 'codec' => __( 'Audio Codec:' ) 2487 ) ;2487 ) ); 2488 2488 2489 2489 foreach ( $audio_fields as $key => $label ): 2490 2490 if ( ! empty( $meta['audio'][$key] ) ) : ?>