]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/ms-default-constants.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-includes / ms-default-constants.php
index 0f7d0ff6d37b88ed498df18c0c91f3140b7db3b3..05b1eeb2d01a341c86b4d06e0403f2c97a2c2942 100644 (file)
@@ -14,6 +14,8 @@
  * wp-includes/ms-files.php (wp-content/blogs.php in MU).
  *
  * @since 3.0.0
+ *
+ * @global wpdb $wpdb
  */
 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' );