in_the_loop() Props: Mark Jaquith fixes #1518

git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-07-17 16:58:13 +00:00
parent 4d6ecc4943
commit 7623634aaf
2 changed files with 13 additions and 0 deletions

View File

@@ -1413,6 +1413,12 @@ function is_paged () {
return $wp_query->is_paged;
}
function in_the_loop() {
global $wp_query;
return $wp_query->in_the_loop;
}
function get_query_var($var) {
global $wp_query;