Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.

git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-06-30 15:31:49 +00:00
parent 18fef1c41e
commit 4c0a18c68e
4 changed files with 180 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ if ( !(phpversion() >= '4.1') )
die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );
require (ABSPATH . WPINC . '/classes.php');
require (ABSPATH . WPINC . '/functions.php');
timer_start();
require (ABSPATH . WPINC . '/functions-formatting.php');