mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: Reduce confusion in @since MU notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context.
Props sathyapulse. Fixes #41509. git-svn-id: https://develop.svn.wordpress.org/trunk@41200 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -423,7 +423,7 @@ function count_many_users_posts( $users, $post_type = 'post', $public_only = fal
|
||||
/**
|
||||
* Get the current user's ID
|
||||
*
|
||||
* @since MU
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @return int The current user's ID, or 0 if no user is logged in.
|
||||
*/
|
||||
@@ -679,7 +679,7 @@ function get_blogs_of_user( $user_id, $all = false ) {
|
||||
/**
|
||||
* Filters the list of sites a user belongs to.
|
||||
*
|
||||
* @since MU
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @param array $sites An array of site objects belonging to the user.
|
||||
* @param int $user_id User ID.
|
||||
@@ -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 1.1
|
||||
* @since MU (3.0.0) 1.1
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
@@ -2669,7 +2669,7 @@ All at ###SITENAME###
|
||||
* ###SITENAME### The name of the site.
|
||||
* ###SITEURL### The URL to the site.
|
||||
*
|
||||
* @since MU
|
||||
* @since MU (3.0.0)
|
||||
* @since 4.9.0 This filter is no longer Multisite specific.
|
||||
*
|
||||
* @param string $email_text Text in the email.
|
||||
|
||||
Reference in New Issue
Block a user