Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/wp-includes/post-template.php

    r18176 r18415  
    490490            $classes[] = 'page-template';
    491491            $classes[] = 'page-template-' . sanitize_html_class( str_replace( '.', '-', get_post_meta( $page_id, '_wp_page_template', true ) ), '' );
     492        } else {
     493            $classes[] = 'page-template-default';
    492494        }
    493495    } elseif ( is_search() ) {
Note: See TracChangeset for help on using the changeset viewer.