git-svn-id: http://svn.automattic.com/wordpress/trunk@18414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-07-11 05:34:15 +00:00
parent 6a073f6d47
commit 6590faa5ba
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ function get_body_class( $class = '' ) {
$classes[] = 'page-template';
$classes[] = 'page-template-' . sanitize_html_class( str_replace( '.', '-', get_post_meta( $page_id, '_wp_page_template', true ) ), '' );
} else {
$classes[] = 'page-template-default';
$classes[] = 'page-template-default';
}
} elseif ( is_search() ) {
if ( !empty( $wp_query->posts ) )