404 permalink handler.

git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-08-27 20:59:38 +00:00
parent d7f6c89f1b
commit b9fc57acbc
3 changed files with 62 additions and 24 deletions

View File

@@ -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;