Changeset 5951 for trunk/src/includes/users/capabilities.php
- Timestamp:
- 10/28/2015 04:07:50 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/capabilities.php
r5908 r5951 13 13 * Maps primary capabilities 14 14 * 15 * @since bbPress (r4242)15 * @since 2.2.0 bbPress (r4242) 16 16 * 17 17 * @param array $caps Capabilities for meta capability. … … 124 124 * Return a user's main role 125 125 * 126 * @since bbPress (r3860)126 * @since 2.1.0 bbPress (r3860) 127 127 * 128 128 * @param int $user_id … … 177 177 * Return a user's forums role 178 178 * 179 * @since bbPress (r3860)179 * @since 2.1.0 bbPress (r3860) 180 180 * 181 181 * @param int $user_id … … 215 215 * Return a user's blog role 216 216 * 217 * @since bbPress (r4446)217 * @since 2.3.0 bbPress (r4446) 218 218 * 219 219 * @param int $user_id … … 257 257 * update user roles and capabilities. 258 258 * 259 * @since bbPress (r4235)259 * @since 2.2.0 bbPress (r4235) 260 260 * 261 261 * @param int $user_id … … 304 304 * installation of WordPress, or if the user is marked as spam or deleted. 305 305 * 306 * @since bbPress (r3380)306 * @since 2.0.0 bbPress (r3380) 307 307 * 308 308 * @uses is_user_logged_in() To bail if user is not logged in … … 395 395 * role in the forums. Also guarantees WordPress admins get the Keymaster role. 396 396 * 397 * @since bbPress (r4334)397 * @since 2.2.0 bbPress (r4334) 398 398 * 399 399 * @return array Filtered array of WordPress roles to bbPress roles … … 419 419 * Checks if the user has been marked as a spammer. 420 420 * 421 * @since bbPress (r3355)421 * @since 2.0.0 bbPress (r3355) 422 422 * 423 423 * @param int $user_id int The ID for the user. … … 457 457 * Mark a users topics and replies as spam when the user is marked as spam 458 458 * 459 * @since bbPress (r3405)459 * @since 2.0.0 bbPress (r3405) 460 460 * 461 461 * @param int $user_id Optional. User ID to spam. Defaults to displayed user. … … 549 549 * Mark a users topics and replies as spam when the user is marked as spam 550 550 * 551 * @since bbPress (r3405)551 * @since 2.0.0 bbPress (r3405) 552 552 * 553 553 * @param int $user_id Optional. User ID to unspam. Defaults to displayed user. … … 640 640 * Checks if the user has been marked as deleted. 641 641 * 642 * @since bbPress (r3355)642 * @since 2.0.0 bbPress (r3355) 643 643 * 644 644 * @param int $user_id int The ID for the user. … … 678 678 * Checks if user is active 679 679 * 680 * @since bbPress (r3502)680 * @since 2.0.0 bbPress (r3502) 681 681 * 682 682 * @uses is_user_logged_in() To check if user is logged in … … 717 717 * Checks if user is not active. 718 718 * 719 * @since bbPress (r3502)719 * @since 2.0.0 bbPress (r3502) 720 720 * 721 721 * @uses is_user_logged_in() To check if user is logged in … … 745 745 * Checks if user is a keymaster 746 746 * 747 * @since bbPress (r4783)747 * @since 2.3.0 bbPress (r4783) 748 748 * 749 749 * @param int $user_id … … 762 762 * Does a user have a profile for the current site 763 763 * 764 * @since bbPress (r4362)764 * @since 2.2.0 bbPress (r4362) 765 765 * 766 766 * @param int $user_id User ID to check
Note: See TracChangeset
for help on using the changeset viewer.