Make WordPress Core


Ignore:
Timestamp:
06/11/2011 07:14:59 AM (15 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-image.php

    r18257 r18274  
    3030
    3131                <footer class="entry-meta">
    32                         <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
    3332                        <div class="entry-meta">
    3433                                <?php
    … …  
    6665                                <?php endif; // End if comments_open() ?>
    6766                        </div><!-- .entry-meta -->
    68                         <?php endif; ?>
    6967
    7068                        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.