diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 49b4b3ce2..593846e0b 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1242,7 +1242,7 @@ function is_page_template($template = '') { // We have no argument passed so just see if a page_template has been specified if ( empty( $template ) ) { - if (!empty( $page_template ) ) { + if ( !empty( $page_template ) and ( 'default' != $page_template ) ) { return true; } } elseif ( $template == $page_template) {