Ticket #35417: 35417.3.diff
File 35417.3.diff, 5.0 KB (added by , 9 years ago) |
---|
-
src/wp-includes/author-template.php
326 326 } 327 327 328 328 /** 329 * List all the authors of the blog, with several options available.329 * List all the authors of the site, with several options available. 330 330 * 331 331 * @link https://codex.wordpress.org/Template_Tags/wp_list_authors 332 332 * -
src/wp-includes/class-wp-user-query.php
140 140 * @param string|array $query { 141 141 * Optional. Array or string of Query parameters. 142 142 * 143 * @type int $blog_id The site ID. Default is the global blog id.143 * @type int $blog_id The site ID. Default is the current site. 144 144 * @type string|array $role An array or a comma-separated list of role names that users must match 145 145 * to be included in results. Note that this is an inclusive list: users 146 146 * must match *each* role. Default empty. -
src/wp-includes/class-wp-user.php
113 113 * 114 114 * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB. 115 115 * @param string $name Optional. User's username 116 * @param int $blog_id Optional Blog ID, defaults to current blog.116 * @param int $blog_id Optional Site ID, defaults to current site. 117 117 */ 118 118 public function __construct( $id = 0, $name = '', $blog_id = '' ) { 119 119 if ( ! isset( self::$back_compat_keys ) ) { … … 768 768 } 769 769 770 770 /** 771 * Set the blog to operate on. Defaults to the current blog.771 * Set the site to operate on. Defaults to the current site. 772 772 * 773 773 * @since 3.0.0 774 774 * 775 775 * @global wpdb $wpdb WordPress database abstraction object. 776 776 * 777 * @param int $blog_id Optional Blog ID, defaults to current blog.777 * @param int $blog_id Optional. Site ID, defaults to current site. 778 778 */ 779 779 public function for_blog( $blog_id = '' ) { 780 780 global $wpdb; -
src/wp-includes/functions.php
1334 1334 } 1335 1335 1336 1336 /** 1337 * Test whether blogis already installed.1337 * Test whether WordPress is already installed. 1338 1338 * 1339 1339 * The cache will be checked first. If you have a cache plugin, which saves 1340 1340 * the cache values, then this will work. If you use the default WordPress … … 1346 1346 * 1347 1347 * @global wpdb $wpdb WordPress database abstraction object. 1348 1348 * 1349 * @return bool Whether the blogis already installed.1349 * @return bool Whether the site is already installed. 1350 1350 */ 1351 1351 function is_blog_installed() { 1352 1352 global $wpdb; -
src/wp-signup.php
258 258 * @since MU 259 259 * 260 260 * @param string $blogname The new site name 261 * @param string $blog_title The new blog title261 * @param string $blog_title The new site title. 262 262 * @param array $errors 263 263 */ 264 264 function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { … … 335 335 } 336 336 337 337 /** 338 * Validate a new blog signup338 * Validate a new site signup. 339 339 * 340 340 * @since MU 341 341 * 342 * @return null|bool True if blogsignup was validated, false if error.342 * @return null|bool True if site signup was validated, false if error. 343 343 * The function halts all execution if the user is not logged in. 344 344 */ 345 345 function validate_another_blog_signup() { … … 420 420 } 421 421 422 422 /** 423 * Confirm a new site signup 423 * Confirm a new site signup. 424 424 * 425 425 * @since MU 426 426 * @since 4.4.0 Added the `$blog_id` parameter. 427 427 * 428 * @param string $domain The domain URL429 * @param string $path The site root path430 * @param string $blog_title The blog title431 * @param string $user_name The username432 * @param string $user_email The user's email address 433 * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup()434 * @param int $blog_id The blog ID428 * @param string $domain The domain URL. 429 * @param string $path The site root path. 430 * @param string $blog_title The site title. 431 * @param string $user_name The username. 432 * @param string $user_email The user's email address. 433 * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup(). 434 * @param int $blog_id The site ID. 435 435 */ 436 436 function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array(), $blog_id = 0 ) { 437 437