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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
iandstewart 2011-06-08 01:30:18 +00:00
parent a98d5a605c
commit b8ef6fbbdf
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 */