Remove current_user_can() check from index.php. A similar conditional now exists in no-results.php.

This commit is contained in:
Michael Fields 2012-10-06 16:27:56 -07:00
parent b235c5a3e8
commit 6eb6c34820
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ get_header(); ?>
<?php _s_content_nav( 'nav-below' ); ?> <?php _s_content_nav( 'nav-below' ); ?>
<?php elseif ( current_user_can( 'edit_posts' ) ) : ?> <?php else : ?>
<?php get_template_part( 'no-results', 'index' ); ?> <?php get_template_part( 'no-results', 'index' ); ?>