Ticket #39419: 39419.3.diff
File 39419.3.diff, 1.2 KB (added by , 6 years ago) |
---|
-
src/wp-includes/ms-settings.php
18 18 * 19 19 * @global WP_Network $current_site The current network. 20 20 * @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 * 21 30 * @since 3.0.0 22 31 */ 23 global $current_site, $current_blog ;32 global $current_site, $current_blog, $domain, $path, $site_id, $public; 24 33 25 34 /** WP_Network class */ 26 35 require_once( ABSPATH . WPINC . '/class-wp-network.php' );