mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b3fe8fca18
commit
34b7010df8
@ -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