WordPress.org

Make WordPress Core

Changeset 13998


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

File-level phpdoc for multisite files.

Location:
trunk
Files:
16 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}
  • trunk/wp-admin/includes/ms.php

    r13941 r13998  
    11<?php
     2/**
     3 * Multisite administration functions.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
    29
    310/**
  • trunk/wp-admin/ms-admin.php

    r13965 r13998  
    11<?php
     2/**
     3 * Multisite administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/ms-delete-site.php

    r13953 r13998  
    11<?php
     2/**
     3 * Multisite delete site panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/ms-edit.php

    r13941 r13998  
    11<?php
     2/**
     3 * Action handler for Multisite administration panels.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
    412if ( !is_multisite() )
    513    wp_die( __( 'Multisite support is not enabled.' ) );
     14
     15if ( empty( $_GET['action'] ) )
     16    wp_redirect( admin_url( 'ms-admin.php' ) );
    617
    718do_action( 'wpmuadminedit' , '');
  • trunk/wp-admin/ms-options.php

    r13953 r13998  
    11<?php
     2/**
     3 * Multisite network settings administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/ms-sites.php

    r13965 r13998  
    11<?php
     2/**
     3 * Multisite sites administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/ms-themes.php

    r13953 r13998  
    11<?php
     2/**
     3 * Multisite themes administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/ms-upgrade-network.php

    r13681 r13998  
    11<?php
     2/**
     3 * Multisite upgrade administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once('admin.php');
    311
  • trunk/wp-admin/ms-users.php

    r13965 r13998  
    11<?php
     2/**
     3 * Multisite users administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-admin/my-sites.php

    r13918 r13998  
    11<?php
     2/**
     3 * My Sites dashboard.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
     8 */
     9
    210require_once( './admin.php' );
    311
  • trunk/wp-includes/ms-default-constants.php

    r13707 r13998  
    55 * @package WordPress
    66 * @subpackage Multisite
     7 * @since 3.0.0
    78 */
    89
  • trunk/wp-includes/ms-default-filters.php

    r13568 r13998  
    1111 * @subpackage Multisite
    1212 * @see default-filters.php
     13 * @since 3.0.0
    1314 */
    1415
  • trunk/wp-includes/ms-deprecated.php

    r12885 r13998  
    77 * @package WordPress
    88 * @subpackage Deprecated
     9 * @since 3.0.0
    910 */
    1011
  • trunk/wp-includes/ms-functions.php

    r13925 r13998  
    44 *
    55 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.0.0
    68 */
    79
  • trunk/wp-includes/ms-settings.php

    r13797 r13998  
    88 * @package WordPress
    99 * @subpackage Multisite
     10 * @since 3.0.0
    1011 */
    1112
Note: See TracChangeset for help on using the changeset viewer.