2010-01-25 14:46:24 -05:00
|
|
|
<?php
|
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* Deprecated multisite admin functions from past WordPress versions and WordPress MU.
|
|
|
|
* You shouldn't use these functions and look for the alternatives instead. The functions
|
|
|
|
* will be removed in a later version.
|
2010-01-25 14:46:24 -05:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Deprecated
|
2010-04-04 09:29:35 -04:00
|
|
|
* @since 3.0.0
|
2010-01-25 14:46:24 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* @deprecated 3.0.0
|
2010-01-25 14:46:24 -05:00
|
|
|
*/
|
|
|
|
function wpmu_menu() {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0' );
|
2010-01-25 14:46:24 -05:00
|
|
|
// deprecated. See #11763
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* Determines if the available space defined by the admin has been exceeded by the user.
|
|
|
|
*
|
|
|
|
* @deprecated 3.0.0
|
|
|
|
* @see is_upload_space_available()
|
2010-01-25 14:46:24 -05:00
|
|
|
*/
|
|
|
|
function wpmu_checkAvailableSpace() {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0', 'is_upload_space_available()' );
|
2010-01-25 14:46:24 -05:00
|
|
|
|
|
|
|
if ( !is_upload_space_available() )
|
|
|
|
wp_die( __('Sorry, you must delete files before you can upload any more.') );
|
|
|
|
}
|
|
|
|
|
2010-01-25 16:33:49 -05:00
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* @deprecated 3.0.0
|
2010-01-25 16:33:49 -05:00
|
|
|
*/
|
|
|
|
function mu_options( $options ) {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0' );
|
2010-01-25 16:33:49 -05:00
|
|
|
return $options;
|
|
|
|
}
|
|
|
|
|
2010-02-02 13:05:01 -05:00
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* @deprecated 3.0.0
|
|
|
|
* @see activate_plugin()
|
2010-02-02 13:05:01 -05:00
|
|
|
*/
|
|
|
|
function activate_sitewide_plugin() {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0', 'activate_plugin()' );
|
2010-02-02 13:05:01 -05:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* @deprecated 3.0.0
|
|
|
|
* @see deactivate_sitewide_plugin()
|
2010-02-02 13:05:01 -05:00
|
|
|
*/
|
|
|
|
function deactivate_sitewide_plugin( $plugin = false ) {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
|
2010-02-02 13:05:01 -05:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2010-04-04 09:29:35 -04:00
|
|
|
* @deprecated 3.0.0
|
|
|
|
* @see is_network_only_plugin()
|
2010-02-02 13:05:01 -05:00
|
|
|
*/
|
|
|
|
function is_wpmu_sitewide_plugin( $file ) {
|
2010-04-04 09:29:35 -04:00
|
|
|
_deprecated_function(__FUNCTION__, '3.0', 'is_network_only_plugin()' );
|
2010-02-02 13:05:01 -05:00
|
|
|
return is_network_only_plugin( $file );
|
|
|
|
}
|
|
|
|
|
2010-01-25 14:46:24 -05:00
|
|
|
?>
|