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:
duck_ 2012-01-06 11:42:00 +00:00
parent b3fe8fca18
commit 34b7010df8
2 changed files with 4 additions and 4 deletions

View File

@ -279,8 +279,8 @@ function remove_user_from_blog($user_id, $blog_id = '', $reassign = '') {
* *
* @param string $domain The new blog's domain. * @param string $domain The new blog's domain.
* @param string $path The new blog's path. * @param string $path The new blog's path.
* @param string $string The new blog's title. * @param string $weblog_title The new blog's title.
* @param int $site Optional. Defaults to 1. * @param int $site_id Optional. Defaults to 1.
* @return int The ID of the newly created blog * @return int The ID of the newly created blog
*/ */
function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) { function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) {

View File

@ -723,8 +723,8 @@ function get_blogs_of_user( $user_id, $all = false ) {
* @since MU 1.1 * @since MU 1.1
* @uses get_blogs_of_user() * @uses get_blogs_of_user()
* *
* @param int $user_id The unique ID of the user * @param int $user_id Optional. The unique ID of the user. Defaults to the current user.
* @param int $blog Optional. If no blog_id is provided, current site is used * @param int $blog_id Optional. ID of the blog to check. Defaults to the current site.
* @return bool * @return bool
*/ */
function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) { function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) {