Changeset 11054 for trunk/wp-includes/post-template.php
- Timestamp:
- 04/22/2009 05:46:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r11053 r11054 420 420 421 421 $pageID = $wp_query->post->ID; 422 423 $classes[] = 'page-id-' . $pageID; 424 422 425 if ( $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_parent = %d AND post_type = 'page' LIMIT 1", $pageID) ) ) 423 426 $classes[] = 'page-parent';
Note: See TracChangeset
for help on using the changeset viewer.