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/common/functions.php

    r5908 r5951  
    1919 * A bbPress specific method of formatting numeric values
    2020 *
    21  * @since bbPress (r2486)
     21 * @since 2.0.0 bbPress (r2486)
    2222 *
    2323 * @param string $number Number to format
     
    4040 * A bbPress specific method of formatting numeric values
    4141 *
    42  * @since bbPress (r3857)
     42 * @since 2.1.0 bbPress (r3857)
    4343 *
    4444 * @param string $number Number to format
     
    6161 * Convert time supplied from database query into specified date format.
    6262 *
    63  * @since bbPress (r2455)
     63 * @since 2.0.0 bbPress (r2544)
    6464 *
    6565 * @param string $time Time to convert
     
    8282 * Output formatted time to display human readable time difference.
    8383 *
    84  * @since bbPress (r2544)
     84 * @since 2.0.0 bbPress (r2544)
    8585 *
    8686 * @param string $older_date Unix timestamp from which the difference begins.
     
    9696     * Return formatted time to display human readable time difference.
    9797     *
    98      * @since bbPress (r2544)
     98     * @since 2.0.0 bbPress (r2544)
    9999     *
    100100     * @param string $older_date Unix timestamp from which the difference begins.
     
    205205 *  - Trimming again
    206206 *
    207  * @since bbPress (r2782)
     207 * @since 2.0.0 bbPress (r2782)
    208208 *
    209209 * @param string $reason Optional. User submitted reason for editing.
     
    250250 * Append 'view=all' to query string if it's already there from referer
    251251 *
    252  * @since bbPress (r3325)
     252 * @since 2.0.0 bbPress (r3325)
    253253 *
    254254 * @param string $original_link Original Link to be modified
     
    274274 * Remove 'view=all' from query string
    275275 *
    276  * @since bbPress (r3325)
     276 * @since 2.0.0 bbPress (r3325)
    277277 *
    278278 * @param string $original_link Original Link to be modified
     
    289289 * If current user can and is vewing all topics/replies
    290290 *
    291  * @since bbPress (r3325)
     291 * @since 2.0.0 bbPress (r3325)
    292292 *
    293293 * @uses current_user_can() To check if the current user can moderate
     
    303303 * Assist pagination by returning correct page number
    304304 *
    305  * @since bbPress (r2628)
     305 * @since 2.0.0 bbPress (r2628)
    306306 *
    307307 * @uses get_query_var() To get the 'paged' value
     
    336336 * function fixes that.
    337337 *
    338  * @since bbPress (r2734)
     338 * @since 2.0.0 bbPress (r2734)
    339339 *
    340340 * @param array $data Post data
     
    374374 * Check the date against the _bbp_edit_lock setting.
    375375 *
    376  * @since bbPress (r3133)
     376 * @since 2.0.0 bbPress (r3133)
    377377 *
    378378 * @param string $post_date_gmt
     
    416416 * Get the forum statistics
    417417 *
    418  * @since bbPress (r2769)
     418 * @since 2.0.0 bbPress (r2769)
    419419 *
    420420 * @param array $args Optional. The function supports these arguments (all
     
    605605 * If there are any errors, those are directly added to {@link bbPress:errors}
    606606 *
    607  * @since bbPress (r2734)
     607 * @since 2.0.0 bbPress (r2734)
    608608 *
    609609 * @param array $args Optional. If no args are there, then $_POST values are
     
    652652 * Check to make sure that a user is not making a duplicate post
    653653 *
    654  * @since bbPress (r2763)
     654 * @since 2.0.0 bbPress (r2763)
    655655 *
    656656 * @param array $post_data Contains information about the comment
     
    724724 * of time.
    725725 *
    726  * @since bbPress (r2734)
     726 * @since 2.0.0 bbPress (r2734)
    727727 *
    728728 * @param false|array $anonymous_data Optional - if it's an anonymous post. Do
     
    774774 * Checks topics and replies against the discussion moderation of blocked keys
    775775 *
    776  * @since bbPress (r3581)
     776 * @since 2.1.0 bbPress (r3581)
    777777 *
    778778 * @param array $anonymous_data Anonymous user data
     
    898898 * Checks topics and replies against the discussion blacklist of blocked keys
    899899 *
    900  * @since bbPress (r3446)
     900 * @since 2.0.0 bbPress (r3446)
    901901 *
    902902 * @param array $anonymous_data Anonymous user data
     
    10121012 * user input, but it was causing issues in some installations.
    10131013 *
    1014  * @since bbPress (r5409)
     1014 * @since 2.6.0 bbPress (r5409)
    10151015 *
    10161016 * @see  wp_mail
     
    10401040 * custom emailer script.
    10411041 *
    1042  * @since bbPress (r5413)
     1042 * @since 2.6.0 bbPress (r5413)
    10431043 *
    10441044 * @param int $reply_id ID of the newly made reply
     
    12041204 * custom emailer script.
    12051205 *
    1206  * @since bbPress (r5156)
     1206 * @since 2.5.0 bbPress (r5156)
    12071207 *
    12081208 * @param int $topic_id ID of the newly made reply
     
    13541354 * This function is deprecated. Please use: bbp_notify_topic_subscribers()
    13551355 *
    1356  * @since bbPress (r2668)
    1357  * @deprecated bbPress (r5412)
     1356 * @since 2.0.0 bbPress (r2668)
     1357 *
     1358 * @deprecated 2.6.0 bbPress (r5412)
    13581359 *
    13591360 * @param int $reply_id ID of the newly made reply
     
    14111412 * optional $filter_key parameter.
    14121413 *
    1413  * @since bbPress (r3839)
     1414 * @since 2.1.0 bbPress (r3839)
    14141415 *
    14151416 * @param string|array $args Value to merge with $defaults
     
    14511452 * Adds ability to include or exclude specific post_parent ID's
    14521453 *
    1453  * @since bbPress (r2996)
    1454  * @deprecated bbPress (r5814)
     1454 * @since 2.0.0 bbPress (r2996)
     1455 *
     1456 * @deprecated 2.5.8 bbPress (r5814)
    14551457 *
    14561458 * @global WP $wp
     
    15471549 * Query the DB and get a count of public children
    15481550 *
    1549  * @since bbPress (r2868)
     1551 * @since 2.0.0 bbPress (r2868)
    15501552 *
    15511553 * @param int $parent_id Parent id
     
    15981600 * Query the DB and get a the child id's of public children
    15991601 *
    1600  * @since bbPress (r2868)
     1602 * @since 2.0.0 bbPress (r2868)
    16011603 *
    16021604 * @param int $parent_id Parent id
     
    16511653 * Query the DB and get a the child id's of all children
    16521654 *
    1653  * @since bbPress (r3325)
     1655 * @since 2.0.0 bbPress (r3325)
    16541656 *
    16551657 * @param int $  parent_id  Parent id
     
    17351737 * Used most frequently when editing a forum/topic/reply
    17361738 *
    1737  * @since bbPress (r3694)
     1739 * @since 2.1.0 bbPress (r3694)
    17381740 *
    17391741 * @global WP_Query $post
     
    17581760 * To avoid security exploits within the theme.
    17591761 *
    1760  * @since bbPress (r4022)
     1762 * @since 2.1.0 bbPress (r4022)
    17611763 *
    17621764 * @uses do_action() Calls 'bbp_check_referer' on $action.
     
    18021804     * Useful for configurations like reverse proxying.
    18031805     *
    1804      * @since bbPress (2.5.0)
     1806     * @since 2.2.0 bbPress (r4361)
    18051807     *
    18061808     * @param string $requested_url The requested URL.
     
    18191821     * Fires at the end of the nonce verification check.
    18201822     *
    1821      * @since bbPress (2.2.0)
     1823     * @since 2.1.0 bbPress (r4023)
    18221824     *
    18231825     * @param string $action Action nonce.
     
    18361838 * the stars align and the user has requested a feed of any bbPress type.
    18371839 *
    1838  * @since bbPress (r3171)
     1840 * @since 2.0.0 bbPress (r3171)
    18391841 *
    18401842 * @param array $query_vars
     
    20592061 * Used to guess if page exists at requested path
    20602062 *
    2061  * @since bbPress (r3304)
     2063 * @since 2.0.0 bbPress (r3304)
    20622064 *
    20632065 * @uses get_option() To see if pretty permalinks are enabled
     
    20892091 * Used primarily with topics/replies inside hidden forums.
    20902092 *
    2091  * @since bbPress (r3051)
     2093 * @since 2.0.0 bbPress (r3051)
    20922094 *
    20932095 * @global WP_Query $wp_query
Note: See TracChangeset for help on using the changeset viewer.