Rework query precedence for bug 541. Add is_trackback().

git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-12-18 00:28:24 +00:00
parent a3daa0be76
commit 0971447cf6
3 changed files with 98 additions and 112 deletions

View File

@@ -1195,6 +1195,12 @@ function is_feed () {
return $wp_query->is_feed;
}
function is_trackback () {
global $wp_query;
return $wp_query->is_trackback;
}
function is_home () {
global $wp_query;