Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/28/2015 04:07:50 AM (10 years ago)
Author:
netweb
Message:

Standardize @since PHPDoc tags style and format

This changeset updates the style and formatting of all of our @since instances for compatibility with phpDocumentor 2 and WP-Parser as we move toward implementing the bbPress developer code reference.

Props thebrandonallen
Fixes #2879

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/capabilities.php

    r5908 r5951  
    2020 * Returns an array of capabilities based on the role that is being requested.
    2121 *
    22  * @since bbPress (r2994)
     22 * @since 2.0.0 bbPress (r2994)
    2323 *
    2424 * @todo Map all of these and deprecate
     
    212212 * Adds capabilities to WordPress user roles.
    213213 *
    214  * @since bbPress (r2608)
     214 * @since 2.0.0 bbPress (r2608)
    215215 */
    216216function bbp_add_caps() {
     
    229229 * Removes capabilities from WordPress user roles.
    230230 *
    231  * @since bbPress (r2608)
     231 * @since 2.0.0 bbPress (r2608)
    232232 */
    233233function bbp_remove_caps() {
     
    246246 * Get the `$wp_roles` global without needing to declare it everywhere
    247247 *
    248  * @since bbPress (r4293)
     248 * @since 2.2.0 bbPress (r4293)
    249249 *
    250250 * @return WP_Roles
     
    266266 * Get the available roles minus bbPress's dynamic roles
    267267 *
    268  * @since bbPress (r5064)
     268 * @since 2.4.0 bbPress (r5064)
    269269 *
    270270 * @uses bbp_get_wp_roles() To load and get the $wp_roles global
     
    293293 * We do this to avoid adding these values to the database.
    294294 *
    295  * @since bbPress (r4290)
     295 * @since 2.2.0 bbPress (r4290)
    296296 *
    297297 * @uses bbp_get_wp_roles() To load and get the $wp_roles global
     
    314314 * Helper function to add filter to option_wp_user_roles
    315315 *
    316  * @since bbPress (r4363)
     316 * @since 2.2.0 bbPress (r4363)
    317317 *
    318318 * @see _bbp_reinit_dynamic_roles()
     
    340340 * @see WP_Roles::_init()
    341341 *
    342  * @since bbPress (r4363)
     342 * @since 2.2.0 bbPress (r4363)
    343343 *
    344344 * @internal Used by bbPress to reinitialize dynamic roles on blog switch
     
    367367 * user management.
    368368 *
    369  * @since bbPress (r4284)
     369 * @since 2.2.0 bbPress (r4284)
    370370 *
    371371 * @return array
     
    409409 * Gets a translated role name from a role ID
    410410 *
    411  * @since bbPress (r4792)
     411 * @since 2.3.0 bbPress (r4792)
    412412 *
    413413 * @param string $role_id
     
    427427 * Need to research what happened, and if there's a way to speed this up.
    428428 *
    429  * @since bbPress (r4303)
     429 * @since 2.2.0 bbPress (r4303)
    430430 *
    431431 * @param array $all_roles All registered roles
     
    453453 * The keymaster role for bbPress users
    454454 *
    455  * @since bbPress (r4284)
     455 * @since 2.2.0 bbPress (r4284)
    456456 *
    457457 * @uses apply_filters() Allow override of hardcoded keymaster role
     
    465465 * The moderator role for bbPress users
    466466 *
    467  * @since bbPress (r3410)
     467 * @since 2.0.0 bbPress (r3410)
    468468 *
    469469 * @uses apply_filters() Allow override of hardcoded moderator role
     
    477477 * The participant role for registered user that can participate in forums
    478478 *
    479  * @since bbPress (r3410)
     479 * @since 2.0.0 bbPress (r3410)
    480480 *
    481481 * @uses apply_filters() Allow override of hardcoded participant role
     
    489489 * The spectator role is for registered users without any capabilities
    490490 *
    491  * @since bbPress (r3860)
     491 * @since 2.1.0 bbPress (r3860)
    492492 *
    493493 * @uses apply_filters() Allow override of hardcoded spectator role
     
    501501 * The blocked role is for registered users that cannot spectate or participate
    502502 *
    503  * @since bbPress (r4284)
     503 * @since 2.2.0 bbPress (r4284)
    504504 *
    505505 * @uses apply_filters() Allow override of hardcoded blocked role
     
    513513 * Adds bbPress-specific user roles.
    514514 *
    515  * @since bbPress (r2741)
    516  * @deprecated since version 2.2
     515 * @since 2.0.0 bbPress (r2741)
     516 *
     517 * @deprecated 2.2.0 bbPress (r4164)
    517518 */
    518519function bbp_add_roles() {
     
    529530 * @see bbp_version_updater()
    530531 *
    531  * @since bbPress (r2741)
     532 * @since 2.0.0 bbPress (r2741)
    532533 */
    533534function bbp_remove_roles() {
Note: See TracChangeset for help on using the changeset viewer.