Move functions to ms-deprecated.php

git-svn-id: http://svn.automattic.com/wordpress/trunk@12929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-02-02 18:05:01 +00:00
parent 8caab555bd
commit 7a4d409064
2 changed files with 21 additions and 35 deletions

View File

@ -36,4 +36,25 @@ function mu_options( $options ) {
return $options;
}
/**
* @deprecated 3.0
*/
function activate_sitewide_plugin() {
return false;
}
/**
* @deprecated 3.0
*/
function deactivate_sitewide_plugin( $plugin = false ) {
return;
}
/**
* @deprecated 3.0 is_network_only_plugin()
*/
function is_wpmu_sitewide_plugin( $file ) {
return is_network_only_plugin( $file );
}
?>

View File

@ -710,41 +710,6 @@ function avoid_blog_page_permalink_collision( $data, $postarr ) {
}
add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 );
/**
* @deprecated
*/
function activate_sitewide_plugin() {
return false;
}
/**
* @deprecated
*/
function deactivate_sitewide_plugin( $plugin = false ) {
return;
}
/**
* @deprecated is_network_only_plugin()
*/
function is_wpmu_sitewide_plugin( $file ) {
return is_network_only_plugin( $file );
}
/**
* @deprecated
*/
function check_is_wpmu_plugin_on_activate() {
return;
}
/**
* @deprecated
*/
function check_wpmu_plugins_on_bulk_activate( $plugins ) {
return;
}
function choose_primary_blog() {
global $current_user;
?>