Created
April 22, 2018 20:12
-
-
Save hwkdev/78be1081169de5eed2cb42a67f4e8eda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // wp-settings.php:118 | |
| // Initialize multisite if enabled. | |
| if ( is_multisite() ) { | |
| require( ABSPATH . WPINC . '/class-wp-site-query.php' ); | |
| require( ABSPATH . WPINC . '/class-wp-network-query.php' ); | |
| require( ABSPATH . WPINC . '/ms-blogs.php' ); | |
| require( ABSPATH . WPINC . '/ms-settings.php' ); | |
| } elseif ( ! defined( 'MULTISITE' ) ) { | |
| define( 'MULTISITE', false ); | |
| } | |
| register_shutdown_function( 'shutdown_action_hook' ); | |
| // Stop most of WordPress from being loaded if we just want the basics. | |
| if ( SHORTINIT ) | |
| return false; | |
| // Load the L10n library. | |
| require_once( ABSPATH . WPINC . '/l10n.php' ); | |
| require_once( ABSPATH . WPINC . '/class-wp-locale.php' ); | |
| require_once( ABSPATH . WPINC . '/class-wp-locale-switcher.php' ); | |
| // ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment