Ticket #10361: 10361.diff
| File 10361.diff, 522 bytes (added by , 17 years ago) |
|---|
-
wp-includes/post-template.php
427 427 428 428 $classes[] = 'page-id-' . $pageID; 429 429 430 if ( $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_parent = %d AND post_type = 'page' LIMIT 1", $pageID)) )430 if ( empty($wp_query->post->ancestors) ) 431 431 $classes[] = 'page-parent'; 432 432 433 433 if ( $wp_query->post->post_parent ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)