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

git-svn-id: http://svn.automattic.com/wordpress/trunk@1449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren
2004-06-30 15:31:49 +00:00
parent 83844c9b8b
commit 8b44ee9d93
4 changed files with 180 additions and 0 deletions

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');