Make WordPress Core


Ignore:
Timestamp:
04/25/2013 02:28:30 AM (11 years ago)
Author:
markjaquith
Message:

Allow the_post_format_image() to choose an image size late in the game.

props davidwilliamson, SergeyBiryukov. fixes #23945.

File:
1 edited

Legend:

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

    r24078 r24079  
    24132413        return '';
    24142414
    2415     if ( isset( $post->format_content ) )
     2415    if ( isset( $post->format_content ) && false !== strpos( $post->format_content, 'attachment-' . $attached_size ) )
    24162416        return $post->format_content;
    24172417
Note: See TracChangeset for help on using the changeset viewer.