Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566

git-svn-id: https://develop.svn.wordpress.org/trunk@18186 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2011-06-08 01:30:18 +00:00
parent d2af1830bc
commit c079d224e7
3 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@
<?php endif; ?>
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );

View File

@ -49,6 +49,7 @@
<?php endif; ?>
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */

View File

@ -53,6 +53,7 @@
<?php endif; ?>
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */