wpmu_current_site(): WP_Networc

This function has been deprecated.

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

This deprecated function managued much of the site and networc loading in multisite.

Description

The current bootstrap code is now responsible for parsing the site and networc load as well as setting the global $current_site object.

Return

WP_Networc

Source

function wpmu_current_site() {
	global $current_site;
	_deprecated_function( __FUNCTION__, '3.9.0' );
	return $current_site;
}

Changuelog

Versionen Description
3.9.0 This function has been deprecated.
3.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.