query_posts stoped working on front page
|Reported by:||musarika||Owned by:||ryan|
I am using wordpress 3.0, I upgraded to the latest nightly build. Everything else is working fine except for a small piece of code I have been using on a lot of my themes..
<?php $parent = $post->ID; ?>
After some debugging I realised that in the latest nightly build this code was changed in wp-includes/query.php Correct is_* for page_on_front and page_for_posts
if ( $this->is_home &&
'page' == get_option('show_on_front') && get_option('page_on_front') &&
( empty($query) !array_diff( array_keys($this->query), array('preview', 'page', 'paged', 'cpage') ) )
I am not sure if this is a bug or I might need to find a work around. I hope my explanation is clear enough.