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

    r5917 r5951  
    1717 * for the topic to function properly.
    1818 *
    19  * @since bbPress (r3349)
     19 * @since 2.0.0 bbPress (r3349)
    2020 *
    2121 * @uses bbp_parse_args()
     
    936936 * function can be costly to run but is necessary to keep everything accurate.
    937937 *
    938  * @since bbPress (r2800)
     938 * @since 2.0.0 bbPress (r2800)
     939 *
    939940 * @param int $topic_id Topic id
    940941 * @param string $last_active_time Optional. Last active time
     
    11401141 * Handles the front end merge topic submission
    11411142 *
    1142  * @since bbPress (r2756)
     1143 * @since 2.0.0 bbPress (r2756)
    11431144 *
    11441145 * @param string $action The requested action to compare this function to
     
    13941395 * and their forums.
    13951396 *
    1396  * @since bbPress (r2756)
     1397 * @since 2.0.0 bbPress (r2756)
    13971398 *
    13981399 * @param int $destination_topic_id Destination topic id
     
    14371438 * Handles the front end split topic submission
    14381439 *
    1439  * @since bbPress (r2756)
     1440 * @since 2.0.0 bbPress (r2756)
    14401441 *
    14411442 * @param string $action The requested action to compare this function to
     
    17741775 * and their forums.
    17751776 *
    1776  * @since bbPress (r2756)
     1777 * @since 2.0.0 bbPress (r2756)
    17771778 *
    17781779 * @param int $from_reply_id From reply id
     
    18141815 * Handles the front end tag management (renaming, merging, destroying)
    18151816 *
    1816  * @since bbPress (r2768)
     1817 * @since 2.0.0 bbPress (r2768)
    18171818 *
    18181819 * @param string $action The requested action to compare this function to
     
    20052006 * Return an associative array of available topic statuses
    20062007 *
    2007  * @since bbPress (r5059)
     2008 * @since 2.4.0 bbPress (r5059)
    20082009 *
    20092010 * @return array
     
    20222023 * Return an associative array of topic sticky types
    20232024 *
    2024  * @since bbPress (r5059)
     2025 * @since 2.4.0 bbPress (r5059)
    20252026 *
    20262027 * @return array
     
    20392040 * Return sticky topics of a forum
    20402041 *
    2041  * @since bbPress (r2592)
     2042 * @since 2.0.0 bbPress (r2592)
    20422043 *
    20432044 * @param int $forum_id Optional. If not passed, super stickies are returned.
     
    20572058 * Return topics stuck to front page of the forums
    20582059 *
    2059  * @since bbPress (r2592)
     2060 * @since 2.0.0 bbPress (r2592)
    20602061 *
    20612062 * @uses get_option() To get super sticky topics
     
    20762077 * sticking/unsticking and trashing/untrashing/deleting of topics
    20772078 *
    2078  * @since bbPress (r2727)
     2079 * @since 2.0.0 bbPress (r2727)
    20792080 *
    20802081 * @param string $action The requested action to compare this function to
     
    22582259 * Remove a deleted topic from all users' favorites
    22592260 *
    2260  * @since bbPress (r2652)
     2261 * @since 2.0.0 bbPress (r2652)
    22612262 *
    22622263 * @param int $topic_id Get the topic id to remove
     
    22912292 * Remove a deleted topic from all users' subscriptions
    22922293 *
    2293  * @since bbPress (r2652)
     2294 * @since 2.0.0 bbPress (r2652)
    22942295 *
    22952296 * @param int $topic_id Get the topic id to remove
     
    23332334 * Bump the total reply count of a topic
    23342335 *
    2335  * @since bbPress (r3825)
     2336 * @since 2.1.0 bbPress (r3825)
    23362337 *
    23372338 * @param int $topic_id   Optional. Topic id.
     
    23662367 * Bump the total hidden reply count of a topic
    23672368 *
    2368  * @since bbPress (r3825)
     2369 * @since 2.1.0 bbPress (r3825)
    23692370 *
    23702371 * @param int $topic_id   Optional. Topic id.
     
    24012402 * Update the topic's forum id
    24022403 *
    2403  * @since bbPress (r2855)
     2404 * @since 2.0.0 bbPress (r2855)
    24042405 *
    24052406 * @param int $topic_id Optional. Topic id to update
     
    24382439 * Update the topic's topic id
    24392440 *
    2440  * @since bbPress (r2954)
     2441 * @since 2.0.0 bbPress (r2954)
    24412442 *
    24422443 * @param int $topic_id Optional. Topic id to update
     
    24572458 * Adjust the total reply count of a topic
    24582459 *
    2459  * @since bbPress (r2467)
     2460 * @since 2.0.0 bbPress (r2467)
    24602461 *
    24612462 * @param int $topic_id Optional. Topic id to update
     
    24962497 * spammed and pending replies)
    24972498 *
    2498  * @since bbPress (r2740)
     2499 * @since 2.0.0 bbPress (r2740)
    24992500 *
    25002501 * @param int $topic_id Optional. Topic id to update
     
    25422543 * Update the topic with the last active post ID
    25432544 *
    2544  * @since bbPress (r2888)
     2545 * @since 2.0.0 bbPress (r2888)
    25452546 *
    25462547 * @param int $topic_id Optional. Topic id to update
     
    26262627 * Update the topic with the most recent reply ID
    26272628 *
    2628  * @since bbPress (r2625)
     2629 * @since 2.0.0 bbPress (r2625)
    26292630 *
    26302631 * @param int $topic_id Optional. Topic id to update
     
    26742675 * Adjust the total voice count of a topic
    26752676 *
    2676  * @since bbPress (r2567)
     2677 * @since 2.0.0 bbPress (r2567)
    26772678 *
    26782679 * @param int $topic_id Optional. Topic id to update
     
    27152716 * Adjust the total anonymous reply count of a topic
    27162717 *
    2717  * @since bbPress (r2567)
     2718 * @since 2.0.0 bbPress (r2567)
    27182719 *
    27192720 * @param int $topic_id Optional. Topic id to update
     
    27552756 * Update the revision log of the topic
    27562757 *
    2757  * @since bbPress (r2782)
     2758 * @since 2.0.0 bbPress (r2782)
    27582759 *
    27592760 * @param array $args Supports these args:
     
    27972798 * Closes a topic
    27982799 *
    2799  * @since bbPress (r2740)
     2800 * @since 2.0.0 bbPress (r2740)
    28002801 *
    28012802 * @param int $topic_id Topic id
     
    28672868 * Opens a topic
    28682869 *
    2869  * @since bbPress (r2740)
     2870 * @since 2.0.0 bbPress (r2740)
    28702871 *
    28712872 * @param int $topic_id Topic id
     
    29372938 * Marks a topic as spam
    29382939 *
    2939  * @since bbPress (r2740)
     2940 * @since 2.0.0 bbPress (r2740)
    29402941 *
    29412942 * @param int $topic_id Topic id
     
    29902991 * Usually you'll want to do this before the topic itself is marked as spam.
    29912992 *
    2992  * @since bbPress (r5405)
     2993 * @since 2.6.0 bbPress (r5405)
    29932994 *
    29942995 * @param int $topic_id
     
    30373038 * Usually you'll want to do this before the topic itself is marked as spam.
    30383039 *
    3039  * @since bbPress (r5405)
     3040 * @since 2.6.0 bbPress (r5405)
    30403041 *
    30413042 * @param int $topic_id
     
    30743075 * Unspams a topic
    30753076 *
    3076  * @since bbPress (r2740)
     3077 * @since 2.0.0 bbPress (r2740)
    30773078 *
    30783079 * @param int $topic_id Topic id
     
    31343135 * Usually you'll want to do this after the topic is unspammed.
    31353136 *
    3136  * @since bbPress (r5405)
     3137 * @since 2.6.0 bbPress (r5405)
    31373138 *
    31383139 * @param int $topic_id
     
    31693170 * Usually you'll want to do this before the topic itself is unmarked as spam.
    31703171 *
    3171  * @since bbPress (r5405)
     3172 * @since 2.6.0 bbPress (r5405)
    31723173 *
    31733174 * @param int $topic_id
     
    31923193 * Sticks a topic to a forum or front
    31933194 *
    3194  * @since bbPress (r2754)
     3195 * @since 2.0.0 bbPress (r2754)
    31953196 *
    31963197 * @param int $topic_id Optional. Topic id
     
    32543255 * Approves a pending topic
    32553256 *
    3256  * @since bbPress (r5503)
     3257 * @since 2.6.0 bbPress (r5503)
    32573258 *
    32583259 * @param int $topic_id Topic id
     
    33013302 * Unapproves a topic
    33023303 *
    3303  * @since bbPress (r5503)
     3304 * @since 2.6.0 bbPress (r5503)
    33043305 *
    33053306 * @param int $topic_id Topic id
     
    33473348 * Unsticks a topic both from front and it's forum
    33483349 *
    3349  * @since bbPress (r2754)
     3350 * @since 2.0.0 bbPress (r2754)
    33503351 *
    33513352 * @param int $topic_id Optional. Topic id
     
    34263427 * Usually you'll want to do this before the topic itself is deleted.
    34273428 *
    3428  * @since bbPress (r5405)
     3429 * @since 2.6.0 bbPress (r5405)
    34293430 *
    34303431 * @param int $topic_id
     
    34883489 * Usually you'll want to do this before the topic itself is marked as spam.
    34893490 *
    3490  * @since bbPress (r5405)
     3491 * @since 2.6.0 bbPress (r5405)
    34913492 *
    34923493 * @param int $topic_id
     
    35543555 * Usually you'll want to do this after the topic is unspammed.
    35553556 *
    3556  * @since bbPress (r5405)
     3557 * @since 2.6.0 bbPress (r5405)
    35573558 *
    35583559 * @param int $topic_id
     
    36423643 * Return the topics per page setting
    36433644 *
    3644  * @since bbPress (r3540)
     3645 * @since 2.0.0 bbPress (r3540)
    36453646 *
    36463647 * @param int $default Default replies per page (15)
     
    36663667 * Return the topics per RSS page setting
    36673668 *
    3668  * @since bbPress (r3540)
     3669 * @since 2.0.0 bbPress (r3540)
    36693670 *
    36703671 * @param int $default Default replies per page (25)
     
    36923693 * Get topic tags for a specific topic ID
    36933694 *
    3694  * @since bbPress (r5836)
     3695 * @since 2.6.0 bbPress (r5836)
    36953696 *
    36963697 * @param int $topic_id
     
    37093710 * Get topic tags for a specific topic ID
    37103711 *
    3711  * @since bbPress (r4165)
     3712 * @since 2.2.0 bbPress (r4165)
    37123713 *
    37133714 * @param int    $topic_id
     
    37293730 * Check if autoembeds are enabled and hook them in if so
    37303731 *
    3731  * @since bbPress (r3752)
     3732 * @since 2.1.0 bbPress (r3752)
     3733 *
    37323734 * @global WP_Embed $wp_embed
    37333735 */
     
    37453747 * Output an RSS2 feed of topics, based on the query passed.
    37463748 *
    3747  * @since bbPress (r3171)
     3749 * @since 2.0.0 bbPress (r3171)
    37483750 *
    37493751 * @uses bbp_version()
     
    38493851 * Redirect if unathorized user is attempting to edit a topic
    38503852 *
    3851  * @since bbPress (r3605)
     3853 * @since 2.1.0 bbPress (r3605)
    38523854 *
    38533855 * @uses bbp_is_topic_edit()
     
    38733875 * Redirect if unathorized user is attempting to edit a topic tag
    38743876 *
    3875  * @since bbPress (r3605)
     3877 * @since 2.1.0 bbPress (r3605)
    38763878 *
    38773879 * @uses bbp_is_topic_tag_edit()
Note: See TracChangeset for help on using the changeset viewer.