mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Loads the correct template based on the visitor's url
|
||||
* @package WordPress
|
||||
*/
|
||||
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
|
||||
if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) {
|
||||
do_action('template_redirect');
|
||||
if ( is_robots() ) {
|
||||
do_action('do_robots');
|
||||
|
||||
Reference in New Issue
Block a user