mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 09:10:06 +00:00
404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1662,6 +1662,12 @@ function is_home () {
|
||||
return $wp_query->is_home;
|
||||
}
|
||||
|
||||
function is_404 () {
|
||||
global $wp_query;
|
||||
|
||||
return $wp_query->is_404;
|
||||
}
|
||||
|
||||
function get_query_var($var) {
|
||||
global $wp_query;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user