Changeset 18412
- Timestamp:
- 07/11/2011 05:31:57 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r18176 r18412 490 490 $classes[] = 'page-template'; 491 491 $classes[] = 'page-template-' . sanitize_html_class( str_replace( '.', '-', get_post_meta( $page_id, '_wp_page_template', true ) ), '' ); 492 } else { 493 $classes[] = 'page-template-default'; 492 494 } 493 495 } elseif ( is_search() ) {
Note: See TracChangeset
for help on using the changeset viewer.