| @@ -311,9 +311,9 @@ | ||
| 311 | 311 | |
| 312 | 312 | /** |
| 313 | 313 | * Helper function to add filter to option_wp_user_roles |
| 314 | 314 | * |
| 315 | - * @since 2.2.0 bbPress (r4363) | |
| 315 | + * @since 2.2.0 bbPress (r4364) | |
| 316 | 316 | * @deprecated 2.6.0 bbPress (r6105) |
| 317 | 317 | * |
| 318 | 318 | * @see _bbp_reinit_dynamic_roles() |
| 319 | 319 | */ |
| @@ -338,9 +338,9 @@ | ||
| 338 | 338 | * @see bbp_switch_to_site() |
| 339 | 339 | * @see bbp_restore_current_site() |
| 340 | 340 | * @see WP_Roles::_init() |
| 341 | 341 | * |
| 342 | - * @since 2.2.0 bbPress (r4363) | |
| 342 | + * @since 2.2.0 bbPress (r4364) | |
| 343 | 343 | * @deprecated 2.6.0 bbPress (r6105) |
| 344 | 344 | * |
| 345 | 345 | * @internal Used by bbPress to reinitialize dynamic roles on blog switch |
| 346 | 346 | * |
| @@ -366,10 +366,10 @@ | ||
| 366 | 366 | * capability can edit others to be administrators, even if they are |
| 367 | 367 | * only editors or authors. This filter allows admins to delegate |
| 368 | 368 | * user management. |
| 369 | 369 | * |
| 370 | - * @since 2.2.0 bbPress (r4284) | |
| 371 | - * @since 2.6.0 bbPress (r6117) Use bbpress()->roles | |
| 370 | + * @since 2.2.0 bbPress (r4352) | |
| 371 | + * @since 2.6.0 bbPress (r6118) Use bbpress()->roles | |
| 372 | 372 | * |
| 373 | 373 | * @return array |
| 374 | 374 | */ |
| 375 | 375 | function bbp_get_dynamic_roles() { |
| @@ -389,10 +389,10 @@ | ||
| 389 | 389 | |
| 390 | 390 | /** |
| 391 | 391 | * Gets a translated role name from a role ID |
| 392 | 392 | * |
| 393 | - * @since 2.3.0 bbPress (r4792) | |
| 394 | - * @since 2.6.0 bbPress (r6117) Use bbp_translate_user_role() | |
| 393 | + * @since 2.3.0 bbPress (r4793) | |
| 394 | + * @since 2.6.0 bbPress (r6118) Use bbp_translate_user_role() | |
| 395 | 395 | * |
| 396 | 396 | * @param string $role_id |
| 397 | 397 | * @return string Translated role name |
| 398 | 398 | */ |
| @@ -411,9 +411,9 @@ | ||
| 411 | 411 | * |
| 412 | 412 | * This used to use array_diff_assoc() but it randomly broke before 2.2 release. |
| 413 | 413 | * Need to research what happened, and if there's a way to speed this up. |
| 414 | 414 | * |
| 415 | - * @since 2.2.0 bbPress (r4303) | |
| 415 | + * @since 2.2.0 bbPress (r4304) | |
| 416 | 416 | * |
| 417 | 417 | * @param array $all_roles All registered roles |
| 418 | 418 | * @return array |
| 419 | 419 | */ |
| @@ -437,9 +437,9 @@ | ||
| 437 | 437 | |
| 438 | 438 | /** |
| 439 | 439 | * The keymaster role for bbPress users |
| 440 | 440 | * |
| 441 | - * @since 2.2.0 bbPress (r4284) | |
| 441 | + * @since 2.2.0 bbPress (r4290) | |
| 442 | 442 | * |
| 443 | 443 | * @return string |
| 444 | 444 | */ |
| 445 | 445 | function bbp_get_keymaster_role() { |
| @@ -450,9 +450,9 @@ | ||
| 450 | 450 | |
| 451 | 451 | /** |
| 452 | 452 | * The moderator role for bbPress users |
| 453 | 453 | * |
| 454 | - * @since 2.0.0 bbPress (r3410) | |
| 454 | + * @since 2.0.0 bbPress (r3413) | |
| 455 | 455 | * |
| 456 | 456 | * @return string |
| 457 | 457 | */ |
| 458 | 458 | function bbp_get_moderator_role() { |
| @@ -463,9 +463,9 @@ | ||
| 463 | 463 | |
| 464 | 464 | /** |
| 465 | 465 | * The participant role for registered user that can participate in forums |
| 466 | 466 | * |
| 467 | - * @since 2.0.0 bbPress (r3410) | |
| 467 | + * @since 2.0.0 bbPress (r3413) | |
| 468 | 468 | * |
| 469 | 469 | * @return string |
| 470 | 470 | */ |
| 471 | 471 | function bbp_get_participant_role() { |
| @@ -476,9 +476,9 @@ | ||
| 476 | 476 | |
| 477 | 477 | /** |
| 478 | 478 | * The spectator role is for registered users without any capabilities |
| 479 | 479 | * |
| 480 | - * @since 2.1.0 bbPress (r3860) | |
| 480 | + * @since 2.2.0 bbPress (r4290) | |
| 481 | 481 | * |
| 482 | 482 | * @return string |
| 483 | 483 | */ |
| 484 | 484 | function bbp_get_spectator_role() { |
| @@ -489,9 +489,9 @@ | ||
| 489 | 489 | |
| 490 | 490 | /** |
| 491 | 491 | * The blocked role is for registered users that cannot spectate or participate |
| 492 | 492 | * |
| 493 | - * @since 2.2.0 bbPress (r4284) | |
| 493 | + * @since 2.2.0 bbPress (r4290) | |
| 494 | 494 | * |
| 495 | 495 | * @return string |
| 496 | 496 | */ |
| 497 | 497 | function bbp_get_blocked_role() { |