Changeset 27441 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 03/06/2014 07:33:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r27373 r27441 2635 2635 elseif ( $attachment_id && 0 === strpos( $post->post_mime_type, 'audio/' ) ): 2636 2636 2637 maybe_regenerate_attachment_metadata( $post );2637 wp_maybe_generate_attachment_metadata( $post ); 2638 2638 2639 2639 echo wp_audio_shortcode( array( 'src' => $att_url ) ); … … 2641 2641 elseif ( $attachment_id && 0 === strpos( $post->post_mime_type, 'video/' ) ): 2642 2642 2643 maybe_regenerate_attachment_metadata( $post );2643 wp_maybe_generate_attachment_metadata( $post ); 2644 2644 2645 2645 $meta = wp_get_attachment_metadata( $attachment_id );
Note: See TracChangeset
for help on using the changeset viewer.