X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f..refs/tags/wordpress-4.4:/wp-includes/ms-default-constants.php diff --git a/wp-includes/ms-default-constants.php b/wp-includes/ms-default-constants.php index 0f7d0ff6..55137e24 100644 --- a/wp-includes/ms-default-constants.php +++ b/wp-includes/ms-default-constants.php @@ -14,6 +14,8 @@ * wp-includes/ms-files.php (wp-content/blogs.php in MU). * * @since 3.0.0 + * + * @global wpdb $wpdb WordPress database abstraction object. */ function ms_upload_constants() { global $wpdb; @@ -114,6 +116,9 @@ function ms_file_constants() { * 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; @@ -150,4 +155,3 @@ function ms_subdomain_constants() { define( 'VHOST', 'no' ); } } -add_action( 'init', 'ms_subdomain_constants' );