Make WordPress Core


Ignore:
Timestamp:
06/11/2011 07:14:59 AM (13 years ago)
Author:
dd32
Message:

Remove the few post_type == post checks on Post Format templates, Post formats only apply to posts. See #17748

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-quote.php

    r18253 r18274  
    1616            </hgroup>
    1717
    18             <?php if ( 'post' == get_post_type() ) : ?>
    1918            <div class="entry-meta">
    2019                <?php twentyeleven_posted_on(); ?>
    2120            </div><!-- .entry-meta -->
    22             <?php endif; ?>
    2321
    2422            <?php if ( comments_open() ) : ?>
     
    4240        <footer class="entry-meta">
    4341            <?php $show_sep = false; ?>
    44             <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
    4542            <?php
    4643                /* translators: used between list items, there is a space after the comma */
     
    6562            </span>
    6663            <?php endif; // End if $tags_list ?>
    67             <?php endif; // End if 'post' == $post->post_type ?>
    6864
    6965            <?php if ( comments_open() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.