Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/28/2015 04:07:50 AM (9 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/users/capabilities.php

    r5908 r5951  
    1313 * Maps primary capabilities
    1414 *
    15  * @since bbPress (r4242)
     15 * @since 2.2.0 bbPress (r4242)
    1616 *
    1717 * @param array  $caps Capabilities for meta capability.
     
    124124 * Return a user's main role
    125125 *
    126  * @since bbPress (r3860)
     126 * @since 2.1.0 bbPress (r3860)
    127127 *
    128128 * @param int $user_id
     
    177177 * Return a user's forums role
    178178 *
    179  * @since bbPress (r3860)
     179 * @since 2.1.0 bbPress (r3860)
    180180 *
    181181 * @param int $user_id
     
    215215 * Return a user's blog role
    216216 *
    217  * @since bbPress (r4446)
     217 * @since 2.3.0 bbPress (r4446)
    218218 *
    219219 * @param int $user_id
     
    257257 * update user roles and capabilities.
    258258 *
    259  * @since bbPress (r4235)
     259 * @since 2.2.0 bbPress (r4235)
    260260 *
    261261 * @param int $user_id
     
    304304 * installation of WordPress, or if the user is marked as spam or deleted.
    305305 *
    306  * @since bbPress (r3380)
     306 * @since 2.0.0 bbPress (r3380)
    307307 *
    308308 * @uses is_user_logged_in() To bail if user is not logged in
     
    395395 * role in the forums. Also guarantees WordPress admins get the Keymaster role.
    396396 *
    397  * @since bbPress (r4334)
     397 * @since 2.2.0 bbPress (r4334)
    398398 *
    399399 * @return array Filtered array of WordPress roles to bbPress roles
     
    419419 * Checks if the user has been marked as a spammer.
    420420 *
    421  * @since bbPress (r3355)
     421 * @since 2.0.0 bbPress (r3355)
    422422 *
    423423 * @param int $user_id int The ID for the user.
     
    457457 * Mark a users topics and replies as spam when the user is marked as spam
    458458 *
    459  * @since bbPress (r3405)
     459 * @since 2.0.0 bbPress (r3405)
    460460 *
    461461 * @param int $user_id Optional. User ID to spam. Defaults to displayed user.
     
    549549 * Mark a users topics and replies as spam when the user is marked as spam
    550550 *
    551  * @since bbPress (r3405)
     551 * @since 2.0.0 bbPress (r3405)
    552552 *
    553553 * @param int $user_id Optional. User ID to unspam. Defaults to displayed user.
     
    640640 * Checks if the user has been marked as deleted.
    641641 *
    642  * @since bbPress (r3355)
     642 * @since 2.0.0 bbPress (r3355)
    643643 *
    644644 * @param int $user_id int The ID for the user.
     
    678678 * Checks if user is active
    679679 *
    680  * @since bbPress (r3502)
     680 * @since 2.0.0 bbPress (r3502)
    681681 *
    682682 * @uses is_user_logged_in() To check if user is logged in
     
    717717 * Checks if user is not active.
    718718 *
    719  * @since bbPress (r3502)
     719 * @since 2.0.0 bbPress (r3502)
    720720 *
    721721 * @uses is_user_logged_in() To check if user is logged in
     
    745745 * Checks if user is a keymaster
    746746 *
    747  * @since bbPress (r4783)
     747 * @since 2.3.0 bbPress (r4783)
    748748 *
    749749 * @param int $user_id
     
    762762 * Does a user have a profile for the current site
    763763 *
    764  * @since bbPress (r4362)
     764 * @since 2.2.0 bbPress (r4362)
    765765 *
    766766 * @param int $user_id User ID to check
Note: See TracChangeset for help on using the changeset viewer.