Make WordPress Core


Ignore:
Timestamp:
06/10/2011 11:01:16 PM (13 years ago)
Author:
azaozz
Message:

Twenty Eleven code review and cleanup, props dd32, fixes #17748

File:
1 edited

Legend:

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

    r18244 r18253  
    1616            </hgroup>
    1717
    18             <?php if ( 'post' == $post->post_type ) : ?>
     18            <?php if ( 'post' == get_post_type() ) : ?>
    1919            <div class="entry-meta">
    2020                <?php twentyeleven_posted_on(); ?>
     
    4242        <footer class="entry-meta">
    4343            <?php $show_sep = false; ?>
    44             <?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?>
     44            <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
    4545            <?php
    4646                /* translators: used between list items, there is a space after the comma */
Note: See TracChangeset for help on using the changeset viewer.