Docs: Standardize `@deprecated` tag formatting for deprecated functions in wp-admin/includes/ms-deprecated.php.

Props Alphawolf for the initial patch
Props DrewAPicture

See #28806.

Built from https://develop.svn.wordpress.org/trunk@33675


git-svn-id: http://core.svn.wordpress.org/trunk@33642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-08-20 22:26:24 +00:00
parent b2dcf3d1f4
commit c8638a285a
2 changed files with 28 additions and 12 deletions

View File

@ -10,6 +10,8 @@
*/
/**
* Outputs the WPMU menu.
*
* @deprecated 3.0.0
*/
function wpmu_menu() {
@ -20,7 +22,7 @@ function wpmu_menu() {
/**
* Determines if the available space defined by the admin has been exceeded by the user.
*
* @deprecated 3.0.0
* @deprecated 3.0.0 Use is_upload_space_available()
* @see is_upload_space_available()
*/
function wpmu_checkAvailableSpace() {
@ -31,6 +33,8 @@ function wpmu_checkAvailableSpace() {
}
/**
* WPMU options.
*
* @deprecated 3.0.0
*/
function mu_options( $options ) {
@ -39,7 +43,9 @@ function mu_options( $options ) {
}
/**
* @deprecated 3.0.0
* Deprecated functionality for activating a network-only plugin.
*
* @deprecated 3.0.0 Use activate_plugin()
* @see activate_plugin()
*/
function activate_sitewide_plugin() {
@ -48,7 +54,9 @@ function activate_sitewide_plugin() {
}
/**
* @deprecated 3.0.0
* Deprecated functionality for deactivating a network-only plugin.
*
* @deprecated 3.0.0 Use deactivate_sitewide_plugin()
* @see deactivate_sitewide_plugin()
*/
function deactivate_sitewide_plugin( $plugin = false ) {
@ -56,7 +64,9 @@ function deactivate_sitewide_plugin( $plugin = false ) {
}
/**
* @deprecated 3.0.0
* Deprecated functionality for determining if the current plugin is network-only.
*
* @deprecated 3.0.0 Use is_network_only_plugin()
* @see is_network_only_plugin()
*/
function is_wpmu_sitewide_plugin( $file ) {
@ -65,7 +75,9 @@ function is_wpmu_sitewide_plugin( $file ) {
}
/**
* @deprecated 3.4.0
* Deprecated functionality for getting themes network-enabled themes.
*
* @deprecated 3.4.0 Use WP_Theme::get_allowed_on_network()
* @see WP_Theme::get_allowed_on_network()
*/
function get_site_allowed_themes() {
@ -74,7 +86,9 @@ function get_site_allowed_themes() {
}
/**
* @deprecated 3.4.0
* Deprecated functionality for getting themes allowed on a specific site.
*
* @deprecated 3.4.0 Use WP_Theme::get_allowed_on_site()
* @see WP_Theme::get_allowed_on_site()
*/
function wpmu_get_blog_allowedthemes( $blog_id = 0 ) {
@ -83,6 +97,8 @@ function wpmu_get_blog_allowedthemes( $blog_id = 0 ) {
}
/**
* @deprecated
* Deprecated functionality for determining whether a file is deprecated.
*
* @deprecated 3.5.0
*/
function ms_deprecated_blogs_file() {}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33674';
$wp_version = '4.4-alpha-33675';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.