forked from mirror/_s
Remove current_user_can() check from index.php. A similar conditional now exists in no-results.php.
This commit is contained in:
parent
b235c5a3e8
commit
6eb6c34820
|
@ -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' ); ?>
|
||||||
|
|
||||||
|
|
Reference in New Issue