mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user