Make WordPress Core


Ignore:
Timestamp:
04/04/2013 08:09:02 AM (14 years ago)
Author:
markjaquith
Message:

Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().

fixes #23927

File:
1 edited

Legend:

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

    r23876 r23899  
    36983698                switch ( $format ) {
    36993699                case 'image':
    3700                         get_the_image( 'full', $post );
     3700                        get_the_post_format_image( 'full', $post );
    37013701                        if ( isset( $post->split_content ) )
    37023702                                $split_content = $post->split_content;
    37033703                        break;
    37043704                case 'audio':
    3705                         get_the_media( 'audio', $post );
     3705                        get_the_post_format_media( 'audio', $post );
    37063706                        if ( isset( $post->split_content ) )
    37073707                                $split_content = $post->split_content;
    37083708                        break;
    37093709                case 'video':
    3710                         get_the_media( 'video', $post );
     3710                        get_the_post_format_media( 'video', $post );
    37113711                        if ( isset( $post->split_content ) )
    37123712                                $split_content = $post->split_content;
Note: See TracChangeset for help on using the changeset viewer.