Permalink
Browse files

Remove unnecessary admin checks

  • Loading branch information...
ronilaukkarinen committed Nov 10, 2017
1 parent 5e1ba61 commit db4a11325347342e59f68daf543d9aba0aa5d076
Showing with 2 additions and 2 deletions.
  1. +2 −2 front-page.php
View
@@ -10,7 +10,7 @@
* @package khonsu
*/
if ( is_front_page() && ! is_paged() && ! is_admin() ) :
if ( is_front_page() && ! is_paged() ) :
include( TEMPLATEPATH . '/inc/cache-start.php' );
endif;
@@ -57,6 +57,6 @@
<?php
get_footer();
if ( is_front_page() && ! is_paged() && ! is_admin() ) :
if ( is_front_page() && ! is_paged() ) :
include( TEMPLATEPATH . '/inc/cache-end.php' );
endif;

0 comments on commit db4a113

Please sign in to comment.