Make WordPress Core


Ignore:
Timestamp:
07/23/2013 05:39:08 AM (12 years ago)
Author:
nacin
Message:

Media: Add awareness to Attachment Display Settings that audio and video can be embedded.

Also:

  • Add file length metadata to Attachment Details.
  • Round the kb/s bitrate on post.php.

fixes #24449.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r24696 r24777  
    24712471        <div class="misc-pub-section">
    24722472            <?php _e( 'Bitrate:' ); ?> <strong><?php
    2473                 echo $meta['bitrate'] / 1000, 'kb/s';
     2473                echo round( $meta['bitrate'] / 1000 ), 'kb/s';
    24742474
    24752475                if ( ! empty( $meta['bitrate_mode'] ) )
Note: See TracChangeset for help on using the changeset viewer.