mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Correct some @since MU
notation that was broken in [41200].
Every function introduced by MU was introduced in 3.0.0 as this was when MU was merged. See #41509 Built from https://develop.svn.wordpress.org/trunk@41714 git-svn-id: http://core.svn.wordpress.org/trunk@41548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f4f31bc598
commit
2ad86e1e82
@ -379,7 +379,7 @@ function get_blogaddress_by_domain( $domain, $path ) {
|
||||
/**
|
||||
* Create an empty blog.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
* @deprecated 4.4.0
|
||||
*
|
||||
* @param string $domain The new blog's domain.
|
||||
@ -415,7 +415,7 @@ function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) {
|
||||
/**
|
||||
* Get the admin for a domain/path combination.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
* @deprecated 4.4.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
|
@ -10,7 +10,7 @@
|
||||
/**
|
||||
* Gets the network's site and user counts.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @return array Site and user count for the network.
|
||||
*/
|
||||
@ -32,7 +32,7 @@ function get_sitestats() {
|
||||
* is added as a Subscriber to the Dashboard Blog and that blog
|
||||
* is returned.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @param int $user_id The unique ID of the user
|
||||
* @return WP_Site|void The blog object
|
||||
@ -96,7 +96,7 @@ function get_active_blog_for_user( $user_id ) {
|
||||
*
|
||||
* The count is cached and updated twice daily. This is not a live count.
|
||||
*
|
||||
* @since MU (3.0.0) 2.7
|
||||
* @since MU (3.0.0)
|
||||
* @since 4.8.0 The $network_id parameter has been added.
|
||||
*
|
||||
* @param int|null $network_id ID of the network. Default is the current network.
|
||||
@ -111,7 +111,7 @@ function get_user_count( $network_id = null ) {
|
||||
*
|
||||
* The count is cached and updated twice daily. This is not a live count.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
* @since 3.7.0 The $network_id parameter has been deprecated.
|
||||
* @since 4.8.0 The $network_id parameter is now being used.
|
||||
*
|
||||
@ -125,7 +125,7 @@ function get_blog_count( $network_id = null ) {
|
||||
/**
|
||||
* Get a blog post from any site on the network.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @param int $blog_id ID of the blog.
|
||||
* @param int $post_id ID of the post you're looking for.
|
||||
@ -144,7 +144,7 @@ function get_blog_post( $blog_id, $post_id ) {
|
||||
*
|
||||
* Use the {@see 'add_user_to_blog'} action to fire an event when users are added to a blog.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @param int $blog_id ID of the blog you're adding the user to.
|
||||
* @param int $user_id ID of the user you're adding.
|
||||
@ -217,7 +217,7 @@ function add_user_to_blog( $blog_id, $user_id, $role ) {
|
||||
* Accepts an optional `$reassign` parameter, if you want to
|
||||
* reassign the user's blog posts to another user upon removal.
|
||||
*
|
||||
* @since MU (3.0.0) 1.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
@ -320,7 +320,7 @@ function get_blog_permalink( $blog_id, $post_id ) {
|
||||
* subdirectory '/blog1/'. With subdomains like blog1.example.com,
|
||||
* $domain is 'blog1.example.com' and $path is '/'.
|
||||
*
|
||||
* @since MU (3.0.0) 2.6.5
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
|
@ -692,7 +692,7 @@ function get_blogs_of_user( $user_id, $all = false ) {
|
||||
/**
|
||||
* Find out whether a user is a member of a given blog.
|
||||
*
|
||||
* @since MU (3.0.0) 1.1
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41713';
|
||||
$wp_version = '4.9-alpha-41714';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user