Changeset 36416 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 01/28/2016 03:34:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r36111 r36416 2348 2348 2349 2349 /** 2350 * Get users for the blog.2351 * 2352 * For setups that use the multi -blogfeature. Can be used outside of the2353 * multi -blogfeature.2350 * Get users for the site. 2351 * 2352 * For setups that use the multisite feature. Can be used outside of the 2353 * multisite feature. 2354 2354 * 2355 2355 * @since 2.2.0 … … 2358 2358 * 2359 2359 * @global wpdb $wpdb WordPress database abstraction object. 2360 * @global int $blog_id The Blog id of the blog for those that use more than one blog2361 * 2362 * @param int $id BlogID.2363 * @return array List of users that are part of that BlogID2360 * @global int $blog_id The site ID of the site for those that use more than one site. 2361 * 2362 * @param int $id Site ID. 2363 * @return array List of users that are part of that site ID 2364 2364 */ 2365 2365 function get_users_of_blog( $id = '' ) { … … 2794 2794 2795 2795 /** 2796 * Checks if the current user belong to a given blog.2796 * Checks if the current user belong to a given site. 2797 2797 * 2798 2798 * @since MU … … 2800 2800 * @see is_user_member_of_blog() 2801 2801 * 2802 * @param int $blog_id BlogID2802 * @param int $blog_id Site ID 2803 2803 * @return bool True if the current users belong to $blog_id, false if not. 2804 2804 */
Note: See TracChangeset
for help on using the changeset viewer.