Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19695 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
394e2b3153
commit
2cc75b6a05
@ -279,8 +279,8 @@ function remove_user_from_blog($user_id, $blog_id = '', $reassign = '') {
|
||||
*
|
||||
* @param string $domain The new blog's domain.
|
||||
* @param string $path The new blog's path.
|
||||
* @param string $string The new blog's title.
|
||||
* @param int $site Optional. Defaults to 1.
|
||||
* @param string $weblog_title The new blog's title.
|
||||
* @param int $site_id Optional. Defaults to 1.
|
||||
* @return int The ID of the newly created blog
|
||||
*/
|
||||
function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) {
|
||||
|
@ -723,8 +723,8 @@ function get_blogs_of_user( $user_id, $all = false ) {
|
||||
* @since MU 1.1
|
||||
* @uses get_blogs_of_user()
|
||||
*
|
||||
* @param int $user_id The unique ID of the user
|
||||
* @param int $blog Optional. If no blog_id is provided, current site is used
|
||||
* @param int $user_id Optional. The unique ID of the user. Defaults to the current user.
|
||||
* @param int $blog_id Optional. ID of the blog to check. Defaults to the current site.
|
||||
* @return bool
|
||||
*/
|
||||
function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user