WordPress.org

Make WordPress Core

Ticket #19756: 19756.merged.patch

File 19756.merged.patch, 1.2 KB (added by linuxologos, 2 years ago)
  • wp-includes/ms-functions.php

     
    279279 * 
    280280 * @param string $domain The new blog's domain. 
    281281 * @param string $path The new blog's path. 
    282  * @param string $string The new blog's title. 
    283  * @param int $site Optional. Defaults to 1. 
     282 * @param string $weblog_title The new blog's title. 
     283 * @param int $site_id Optional. Defaults to 1. 
    284284 * @return int The ID of the newly created blog 
    285285 */ 
    286286function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) { 
  • wp-includes/user.php

     
    723723 * @since MU 1.1 
    724724 * @uses get_blogs_of_user() 
    725725 * 
    726  * @param int $user_id The unique ID of the user 
    727  * @param int $blog Optional. If no blog_id is provided, current site is used 
     726 * @param int $user_id The unique ID of the user. 
     727 * @param int $blog_id Optional. If no blog_id is provided, current site is used. 
    728728 * @return bool 
    729729 */ 
    730730function is_user_member_of_blog( $user_id = 0, $blog_id = 0 ) {