Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.

git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2010-02-13 06:08:15 +00:00
parent 6f5ca5962f
commit d5ced26371
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -2365,8 +2365,8 @@ class WP_Query {
foreach ( $stickies as $sticky_post ) {
if ( 'publish' != $sticky_post->post_status )
continue;
array_splice($this->posts, $sticky_offset, 0, array($sticky_post));
$sticky_offset++;
array_splice($this->posts, $sticky_offset, 0, array($sticky_post));
$sticky_offset++;
}
}
}