* wp-includes/ms-files.php (wp-content/blogs.php in MU).
*
* @since 3.0.0
+ *
+ * @global wpdb $wpdb
*/
function ms_upload_constants() {
global $wpdb;
* we will have translations loaded and can trigger warnings easily.
*
* @since 3.0.0
+ *
+ * @staticvar bool $subdomain_error
+ * @staticvar bool $subdomain_error_warn
*/
function ms_subdomain_constants() {
static $subdomain_error = null;
define( 'VHOST', 'no' );
}
}
-add_action( 'init', 'ms_subdomain_constants' );