Ticket #11331: body-class.patch
| File body-class.patch, 660 bytes (added by , 16 years ago) |
|---|
-
wp-includes/post-template.php
Property changes on: . ___________________________________________________________________ Added: svn:ignore + wp-config.php
427 427 $pageID = $wp_query->post->ID; 428 428 429 429 $classes[] = 'page-id-' . $pageID; 430 $classes[] = 'page-slug-' . $wp_query->post->post_name; 430 431 431 432 if ( $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_parent = %d AND post_type = 'page' LIMIT 1", $pageID) ) ) 432 433 $classes[] = 'page-parent';