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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user