Make WordPress Core


Ignore:
Timestamp:
04/28/2013 06:36:39 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix typo in get_the_post_format_image(). props rlerdorf. see #23964. see #24210.

File:
1 edited

Legend:

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

    r24093 r24118  
    24512451            // wrap image in <a>
    24522452            if ( ! empty( $meta['url'] ) )
    2453                 $image = sprint( $link_fmt, $image );
     2453                $image = sprintf( $link_fmt, $image );
    24542454        } elseif ( has_shortcode( $meta['image'], 'caption' ) ) {
    24552455            // wrap <img> in <a>
Note: See TracChangeset for help on using the changeset viewer.