Ticket #23837: 23837.2.diff
| File 23837.2.diff, 1.1 KB (added by , 14 years ago) |
|---|
-
wp-content/themes/twentyten/loop.php
92 92 <?php if ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) : ?> 93 93 <a href="<?php echo get_post_format_link( 'gallery' ); ?>" title="<?php esc_attr_e( 'View Galleries', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a> 94 94 <span class="meta-sep">|</span> 95 <?php elseif ( in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>95 <?php elseif ( term_exists( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ) && in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> 96 96 <a href="<?php echo get_term_link( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a> 97 97 <span class="meta-sep">|</span> 98 98 <?php endif; ?>