WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/04/2010 01:29:35 PM (12 years ago)
Author:
nacin
Message:

File-level phpdoc for multisite files.

File:
1 edited

Legend:

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

    r12929 r13998  
    11<?php
    2 
    32/**
    4  * Deprecated multisite admin functions from past WordPress versions. You shouldn't use these
    5  * globals and functions and look for the alternatives instead. The functions
    6  * and globals will be removed in a later version.
     3 * Deprecated multisite admin functions from past WordPress versions and WordPress MU.
     4 * You shouldn't use these functions and look for the alternatives instead. The functions
     5 * will be removed in a later version.
    76 *
    87 * @package WordPress
    98 * @subpackage Deprecated
     9 * @since 3.0.0
    1010 */
    1111
    1212/**
    13  * @deprecated 3.0
     13 * @deprecated 3.0.0
    1414 */
    1515function wpmu_menu() {
    16     _deprecated_function(__FUNCTION__, '3.0', '' );
     16    _deprecated_function(__FUNCTION__, '3.0' );
    1717    // deprecated. See #11763
    1818}
    1919
    2020/**
    21   * Determines if the available space defined by the admin has been exceeded by the user. Dies if it has.
    22   * @deprecated 3.0
     21  * Determines if the available space defined by the admin has been exceeded by the user.
     22  *
     23  * @deprecated 3.0.0
     24  * @see is_upload_space_available()
    2325 */
    2426function wpmu_checkAvailableSpace() {
    25     _deprecated_function(__FUNCTION__, '3.0', 'is_upload_space_available' );
     27    _deprecated_function(__FUNCTION__, '3.0', 'is_upload_space_available()' );
    2628
    2729    if ( !is_upload_space_available() )
     
    3032
    3133/**
    32  * @deprecated 3.0
     34 * @deprecated 3.0.0
    3335 */
    3436function mu_options( $options ) {
    35     _deprecated_function(__FUNCTION__, '3.0', '' );
     37    _deprecated_function(__FUNCTION__, '3.0' );
    3638    return $options;
    3739}
    3840
    3941/**
    40  * @deprecated 3.0
     42 * @deprecated 3.0.0
     43 * @see activate_plugin()
    4144 */
    4245function activate_sitewide_plugin() {
     46    _deprecated_function(__FUNCTION__, '3.0', 'activate_plugin()' );
    4347    return false;
    4448}
    4549
    4650/**
    47  * @deprecated 3.0
     51 * @deprecated 3.0.0
     52 * @see deactivate_sitewide_plugin()
    4853 */
    4954function deactivate_sitewide_plugin( $plugin = false ) {
     55    _deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
    5056    return;
    5157}
    5258
    5359/**
    54  * @deprecated 3.0 is_network_only_plugin()
     60 * @deprecated 3.0.0
     61 * @see is_network_only_plugin()
    5562 */
    5663function is_wpmu_sitewide_plugin( $file ) {
     64    _deprecated_function(__FUNCTION__, '3.0', 'is_network_only_plugin()' );
    5765    return is_network_only_plugin( $file );
    5866}
Note: See TracChangeset for help on using the changeset viewer.