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

    r5924 r5951  
    1717 * for the reply to function properly.
    1818 *
    19  * @since bbPress (r3349)
     19 * @since 2.0.0 bbPress (r3349)
    2020 *
    2121 * @uses bbp_parse_args()
     
    7575 * Handles the front end reply submission
    7676 *
    77  * @since bbPress (r2574)
     77 * @since 2.0.0 bbPress (r2574)
    7878 *
    7979 * @param string $action The requested action to compare this function to
     
    885885 * Walk up the ancestor tree from the current reply, and update all the counts
    886886 *
    887  * @since bbPress (r2884)
     887 * @since 2.0.0 bbPress (r2884)
    888888 *
    889889 * @param int $reply_id Optional. Reply id
     
    10151015 * Update the reply with its forum id it is in
    10161016 *
    1017  * @since bbPress (r2855)
     1017 * @since 2.0.0 bbPress (r2855)
    10181018 *
    10191019 * @param int $reply_id Optional. Reply id to update
     
    10641064 * Update the reply with its topic id it is in
    10651065 *
    1066  * @since bbPress (r2855)
     1066 * @since 2.0.0 bbPress (r2855)
    10671067 *
    10681068 * @param int $reply_id Optional. Reply id to update
     
    11131113 * Update the reply's meta data with its reply to id
    11141114 *
    1115  * @since bbPress (r4944)
     1115 * @since 2.4.0 bbPress (r4944)
    11161116 *
    11171117 * @param int $reply_id Reply id to update
     
    11511151 * replies are active or to what depth.
    11521152 *
    1153  * @since bbPress (r5390)
     1153 * @since 2.6.0 bbPress (r5390)
    11541154 *
    11551155 * @param int $reply_id
     
    11971197 * Update the revision log of the reply
    11981198 *
    1199  * @since bbPress (r2782)
     1199 * @since 2.0.0 bbPress (r2782)
    12001200 *
    12011201 * @param array $args Supports these args:
     
    12411241 * Handles the front end move reply submission
    12421242 *
    1243  * @since bbPress (r4521)
     1243 * @since 2.3.0 bbPress (r4521)
    12441244 *
    12451245 * @param string $action The requested action to compare this function to
     
    14971497 * and their forums.
    14981498 *
    1499  * @since bbPress (r4521)
     1499 * @since 2.3.0 bbPress (r4521)
    15001500 *
    15011501 * @param int $move_reply_id Move reply id
     
    15401540 * replies
    15411541 *
    1542  * @since bbPress (r2740)
     1542 * @since 2.0.0 bbPress (r2740)
    15431543 *
    15441544 * @param string $action The requested action to compare this function to
     
    16941694 * Return an associative array of available reply statuses
    16951695 *
    1696  * @since bbPress (r5399)
     1696 * @since 2.6.0 bbPress (r5399)
    16971697 *
    16981698 * @return array
     
    17121712 * Marks a reply as spam
    17131713 *
    1714  * @since bbPress (r2740)
     1714 * @since 2.0.0 bbPress (r2740)
    17151715 *
    17161716 * @param int $reply_id Reply id
     
    17601760 * Unspams a reply
    17611761 *
    1762  * @since bbPress (r2740)
     1762 * @since 2.0.0 bbPress (r2740)
    17631763 *
    17641764 * @param int $reply_id Reply id
     
    18141814 * Approves a reply
    18151815 *
    1816  * @since bbPress (r5506)
     1816 * @since 2.6.0 bbPress (r5506)
    18171817 *
    18181818 * @param int $reply_id Reply id
     
    18611861 * Unapproves a reply
    18621862 *
    1863  * @since bbPress (r5506)
     1863 * @since 2.6.0 bbPress (r5506)
    18641864 *
    18651865 * @param int $reply_id Reply id
     
    20152015 * Return the replies per page setting
    20162016 *
    2017  * @since bbPress (r3540)
     2017 * @since 2.0.0 bbPress (r3540)
    20182018 *
    20192019 * @param int $default Default replies per page (15)
     
    20392039 * Return the replies per RSS page setting
    20402040 *
    2041  * @since bbPress (r3540)
     2041 * @since 2.0.0 bbPress (r3540)
    20422042 *
    20432043 * @param int $default Default replies per page (25)
     
    20652065 * Check if autoembeds are enabled and hook them in if so
    20662066 *
    2067  * @since bbPress (r3752)
     2067 * @since 2.1.0 bbPress (r3752)
     2068 *
    20682069 * @global WP_Embed $wp_embed
    20692070 */
     
    20842085 * to include both the topic AND its children in the same loop.
    20852086 *
    2086  * @since bbPress (r4058)
     2087 * @since 2.1.0 bbPress (r4058)
    20872088 *
    20882089 * @param string $where
     
    21492150 * Output an RSS2 feed of replies, based on the query passed.
    21502151 *
    2151  * @since bbPress (r3171)
     2152 * @since 2.0.0 bbPress (r3171)
    21522153 *
    21532154 * @uses bbp_version()
     
    22882289 * Redirect if unathorized user is attempting to edit a reply
    22892290 *
    2290  * @since bbPress (r3605)
     2291 * @since 2.1.0 bbPress (r3605)
    22912292 *
    22922293 * @uses bbp_is_reply_edit()
     
    23192320 * leverage core WordPress query ordering much more effectively.
    23202321 *
    2321  * @since bbPress (r3933)
     2322 * @since 2.1.0 bbPress (r3933)
    23222323 *
    23232324 * @param int $reply_id
     
    23642365 * of a given topic.
    23652366 *
    2366  * @since bbPress (r3933)
     2367 * @since 2.1.0 bbPress (r3933)
    23672368 *
    23682369 * @param int $reply_id
     
    24052406 * List replies
    24062407 *
    2407  * @since bbPress (r4944)
     2408 * @since 2.4.0 bbPress (r4944)
    24082409 */
    24092410function bbp_list_replies( $args = array() ) {
     
    24432444 * @see https://bbpress.trac.wordpress.org/ticket/2586
    24442445 *
    2445  * @since bbPress (r5377)
     2446 * @since 2.5.4 bbPress (r5377)
    24462447 *
    24472448 * @param int $reply_to
Note: See TracChangeset for help on using the changeset viewer.