Make WordPress Core

Ticket #23926: 23926.12.diff

File 23926.12.diff, 469 bytes (added by kovshenin, 11 years ago)
  • src/wp-admin/includes/media.php

     
    24662466                        <?php
    24672467                endif;
    24682468
    2469         if ( preg_match( '#^audio|video#', $post->post_mime_type ) ):
     2469        if ( preg_match( '#^(audio|video)#', $post->post_mime_type ) ):
    24702470
    24712471                /**
    24722472                 * Audio and video metadata fields to be shown in the publish meta box.