Ticket #17670: 17670.diff
| File 17670.diff, 681 bytes (added by , 15 years ago) |
|---|
-
wp-includes/post.php
3163 3163 $post_parent = $curpage->post_parent; 3164 3164 $curpage = wp_cache_get( $post_parent, 'posts' ); 3165 3165 if ( false === $curpage ) 3166 $curpage = $wpdb->get_row( $wpdb->prepare( "SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE ID = %d and post_type = %s", $post_parent, $post_type) );3166 $curpage = $wpdb->get_row( $wpdb->prepare( "SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE ID = %d", $post_parent ) ); 3167 3167 $path = '/' . $curpage->post_name . $path; 3168 3168 } 3169 3169
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)