Changeset 25083 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 08/22/2013 03:23:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r25025 r25083 2434 2434 $att_url = wp_get_attachment_url( $post->ID ); 2435 2435 ?> 2436 <div class="misc-pub-section ">2436 <div class="misc-pub-section misc-pub-attachment"> 2437 2437 <label for="attachment_url"><?php _e( 'File URL:' ); ?></label> 2438 2438 <input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" value="<?php echo esc_attr($att_url); ?>" /> 2439 2439 </div> 2440 <div class="misc-pub-section ">2440 <div class="misc-pub-section misc-pub-filename"> 2441 2441 <?php _e( 'File name:' ); ?> <strong><?php echo $filename; ?></strong> 2442 2442 </div> 2443 <div class="misc-pub-section ">2443 <div class="misc-pub-section misc-pub-filetype"> 2444 2444 <?php _e( 'File type:' ); ?> <strong><?php 2445 2445 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) … … 2462 2462 foreach ( $fields as $key => $label ): 2463 2463 if ( ! empty( $meta[$key] ) ) : ?> 2464 <div class="misc-pub-section ">2464 <div class="misc-pub-section misc-pub-mime-meta"> 2465 2465 <?php echo $label ?> <strong><?php echo esc_html( $meta[$key] ); ?></strong> 2466 2466 </div> … … 2470 2470 2471 2471 if ( ! empty( $meta['bitrate'] ) ) : ?> 2472 <div class="misc-pub-section ">2472 <div class="misc-pub-section misc-pub-bitrate"> 2473 2473 <?php _e( 'Bitrate:' ); ?> <strong><?php 2474 2474 echo round( $meta['bitrate'] / 1000 ), 'kb/s'; … … 2489 2489 foreach ( $audio_fields as $key => $label ): 2490 2490 if ( ! empty( $meta['audio'][$key] ) ) : ?> 2491 <div class="misc-pub-section ">2491 <div class="misc-pub-section misc-pub-audio"> 2492 2492 <?php echo $label; ?> <strong><?php echo esc_html( $meta['audio'][$key] ); ?></strong> 2493 2493 </div> … … 2499 2499 2500 2500 if ( $media_dims ) : ?> 2501 <div class="misc-pub-section ">2501 <div class="misc-pub-section misc-pub-dimensions"> 2502 2502 <?php _e( 'Dimensions:' ); ?> <strong><?php echo $media_dims; ?></strong> 2503 2503 </div>
Note: See TracChangeset
for help on using the changeset viewer.