WordPress.org

Make WordPress Core

Ticket #39419: 39419.3.diff

File 39419.3.diff, 1.2 KB (added by jeremyfelt, 4 years ago)
  • src/wp-includes/ms-settings.php

     
    1818 *
    1919 * @global WP_Network $current_site The current network.
    2020 * @global object     $current_blog The current site.
     21 * @global string     $domain       Deprecated. The domain of the site found on load.
     22 *                                  Use `get_site()->domain` instead.
     23 * @global string     $path         Deprecated. The path of the site found on load.
     24 *                                  Use `get_site()->path` instead.
     25 * @global int        $site_id      Deprecated. The ID of the network found on load.
     26 *                                  Use `get_current_network_id()` instead.
     27 * @global bool       $public       Deprecated. Whether the site found on load is public.
     28 *                                  Use `get_site()->public` instead.
     29 *
    2130 * @since 3.0.0
    2231 */
    23 global $current_site, $current_blog;
     32global $current_site, $current_blog, $domain, $path, $site_id, $public;
    2433
    2534/** WP_Network class */
    2635require_once( ABSPATH . WPINC . '/class-wp-network.php' );