WordPress.org

Make WordPress Core

Changeset 12929


Ignore:
Timestamp:
02/02/2010 06:05:01 PM (11 years ago)
Author:
ryan
Message:

Move functions to ms-deprecated.php

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms-deprecated.php

    r12825 r12929  
    3737}
    3838
     39/**
     40 * @deprecated 3.0
     41 */
     42function activate_sitewide_plugin() {
     43    return false;
     44}
     45
     46/**
     47 * @deprecated 3.0
     48 */
     49function deactivate_sitewide_plugin( $plugin = false ) {
     50    return;
     51}
     52
     53/**
     54 * @deprecated 3.0 is_network_only_plugin()
     55 */
     56function is_wpmu_sitewide_plugin( $file ) {
     57    return is_network_only_plugin( $file );
     58}
     59
    3960?>
  • trunk/wp-admin/includes/ms.php

    r12928 r12929  
    711711add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 );
    712712
    713 /**
    714  * @deprecated
    715  */
    716 function activate_sitewide_plugin() {
    717     return false;
    718 }
    719 
    720 /**
    721  * @deprecated
    722  */
    723 function deactivate_sitewide_plugin( $plugin = false ) {
    724     return;
    725 }
    726 
    727 /**
    728  * @deprecated is_network_only_plugin()
    729  */
    730 function is_wpmu_sitewide_plugin( $file ) {
    731     return is_network_only_plugin( $file );
    732 }
    733 
    734 /**
    735  * @deprecated
    736  */
    737 function check_is_wpmu_plugin_on_activate() {
    738     return;
    739 }
    740 
    741 /**
    742  * @deprecated
    743  */
    744 function check_wpmu_plugins_on_bulk_activate( $plugins ) {
    745     return;
    746 }
    747 
    748713function choose_primary_blog() {
    749714    global $current_user;
Note: See TracChangeset for help on using the changeset viewer.