Make WordPress Core


Ignore:
Timestamp:
03/06/2014 07:33:32 PM (11 years ago)
Author:
nacin
Message:

maybe_regenerate_attachment_metadata() is now wp_maybe_generate_attachment_metadata().

props kovshenin.
fixes #26825.

File:
1 edited

Legend:

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

    r27373 r27441  
    26352635    elseif ( $attachment_id && 0 === strpos( $post->post_mime_type, 'audio/' ) ):
    26362636
    2637         maybe_regenerate_attachment_metadata( $post );
     2637        wp_maybe_generate_attachment_metadata( $post );
    26382638
    26392639        echo wp_audio_shortcode( array( 'src' => $att_url ) );
     
    26412641    elseif ( $attachment_id && 0 === strpos( $post->post_mime_type, 'video/' ) ):
    26422642
    2643         maybe_regenerate_attachment_metadata( $post );
     2643        wp_maybe_generate_attachment_metadata( $post );
    26442644
    26452645        $meta = wp_get_attachment_metadata( $attachment_id );
Note: See TracChangeset for help on using the changeset viewer.