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/sub-actions.php

    r5909 r5951  
    2626 * Runs on bbPress activation
    2727 *
    28  * @since bbPress (r2509)
     28 * @since 2.0.0 bbPress (r2509)
     29 *
    2930 * @uses register_uninstall_hook() To register our own uninstall hook
    3031 * @uses do_action() Calls 'bbp_activation' hook
     
    3738 * Runs on bbPress deactivation
    3839 *
    39  * @since bbPress (r2509)
     40 * @since 2.0.0 bbPress (r2509)
     41 *
    4042 * @uses do_action() Calls 'bbp_deactivation' hook
    4143 */
     
    4749 * Runs when uninstalling bbPress
    4850 *
    49  * @since bbPress (r2509)
     51 * @since 2.0.0 bbPress (r2509)
     52 *
    5053 * @uses do_action() Calls 'bbp_uninstall' hook
    5154 */
     
    5962 * Main action responsible for constants, globals, and includes
    6063 *
    61  * @since bbPress (r2599)
     64 * @since 2.0.0 bbPress (r2599)
     65 *
    6266 * @uses do_action() Calls 'bbp_loaded'
    6367 */
     
    6973 * Setup constants
    7074 *
    71  * @since bbPress (r2599)
     75 * @since 2.0.0 bbPress (r2599)
     76 *
    7277 * @uses do_action() Calls 'bbp_constants'
    7378 */
     
    7984 * Setup globals BEFORE includes
    8085 *
    81  * @since bbPress (r2599)
     86 * @since 2.0.0 bbPress (r2599)
     87 *
    8288 * @uses do_action() Calls 'bbp_boot_strap_globals'
    8389 */
     
    8995 * Include files
    9096 *
    91  * @since bbPress (r2599)
     97 * @since 2.0.0 bbPress (r2599)
     98 *
    9299 * @uses do_action() Calls 'bbp_includes'
    93100 */
     
    99106 * Setup globals AFTER includes
    100107 *
    101  * @since bbPress (r2599)
     108 * @since 2.0.0 bbPress (r2599)
     109 *
    102110 * @uses do_action() Calls 'bbp_setup_globals'
    103111 */
     
    109117 * Register any objects before anything is initialized
    110118 *
    111  * @since bbPress (r4180)
     119 * @since 2.2.0 bbPress (r4180)
     120 *
    112121 * @uses do_action() Calls 'bbp_register'
    113122 */
     
    119128 * Initialize any code after everything has been loaded
    120129 *
    121  * @since bbPress (r2599)
     130 * @since 2.0.0 bbPress (r2599)
     131 *
    122132 * @uses do_action() Calls 'bbp_init'
    123133 */
     
    129139 * Initialize widgets
    130140 *
    131  * @since bbPress (r3389)
     141 * @since 2.0.0 bbPress (r3389)
     142 *
    132143 * @uses do_action() Calls 'bbp_widgets_init'
    133144 */
     
    144155 * @link https://core.trac.wordpress.org/ticket/24169
    145156 *
    146  * @since bbPress (r2695)
     157 * @since 2.0.0 bbPress (r2695)
     158 *
    147159 * @uses did_action() To make sure the user isn't loaded out of order
    148160 * @uses do_action() Calls 'bbp_setup_current_user'
     
    164176 * Load translations for current language
    165177 *
    166  * @since bbPress (r2599)
     178 * @since 2.0.0 bbPress (r2599)
     179 *
    167180 * @uses do_action() Calls 'bbp_load_textdomain'
    168181 */
     
    174187 * Setup the post types
    175188 *
    176  * @since bbPress (r2464)
     189 * @since 2.0.0 bbPress (r2464)
     190 *
    177191 * @uses do_action() Calls 'bbp_register_post_type'
    178192 */
     
    184198 * Setup the post statuses
    185199 *
    186  * @since bbPress (r2727)
     200 * @since 2.0.0 bbPress (r2727)
     201 *
    187202 * @uses do_action() Calls 'bbp_register_post_statuses'
    188203 */
     
    194209 * Register the built in bbPress taxonomies
    195210 *
    196  * @since bbPress (r2464)
     211 * @since 2.0.0 bbPress (r2464)
     212 *
    197213 * @uses do_action() Calls 'bbp_register_taxonomies'
    198214 */
     
    204220 * Register the default bbPress views
    205221 *
    206  * @since bbPress (r2789)
     222 * @since 2.0.0 bbPress (r2789)
     223 *
    207224 * @uses do_action() Calls 'bbp_register_views'
    208225 */
     
    214231 * Register the default bbPress shortcodes
    215232 *
    216  * @since bbPress (r4211)
     233 * @since 2.2.0 bbPress (r4211)
     234 *
    217235 * @uses do_action() Calls 'bbp_register_shortcodes'
    218236 */
     
    224242 * Enqueue bbPress specific CSS and JS
    225243 *
    226  * @since bbPress (r3373)
     244 * @since 2.0.0 bbPress (r3373)
     245 *
    227246 * @uses do_action() Calls 'bbp_enqueue_scripts'
    228247 */
     
    234253 * Add the bbPress-specific rewrite tags
    235254 *
    236  * @since bbPress (r2753)
     255 * @since 2.0.0 bbPress (r2753)
     256 *
    237257 * @uses do_action() Calls 'bbp_add_rewrite_tags'
    238258 */
     
    244264 * Add the bbPress-specific rewrite rules
    245265 *
    246  * @since bbPress (r4918)
     266 * @since 2.4.0 bbPress (r4918)
     267 *
    247268 * @uses do_action() Calls 'bbp_add_rewrite_rules'
    248269 */
     
    254275 * Add the bbPress-specific permalink structures
    255276 *
    256  * @since bbPress (r4918)
     277 * @since 2.4.0 bbPress (r4918)
     278 *
    257279 * @uses do_action() Calls 'bbp_add_permastructs'
    258280 */
     
    264286 * Add the bbPress-specific login forum action
    265287 *
    266  * @since bbPress (r2753)
     288 * @since 2.0.0 bbPress (r2753)
     289 *
    267290 * @uses do_action() Calls 'bbp_login_form_login'
    268291 */
     
    276299 * The main action for hooking into when a user account is updated
    277300 *
    278  * @since bbPress (r4304)
     301 * @since 2.2.0 bbPress (r4304)
    279302 *
    280303 * @param int $user_id ID of user being edited
     
    289312 * The main action for hooking into a user being registered
    290313 *
    291  * @since bbPress (r4304)
     314 * @since 2.2.0 bbPress (r4304)
     315 *
    292316 * @param int $user_id ID of user being edited
    293317 * @uses do_action() Calls 'bbp_user_register'
     
    302326 * bbPress has loaded and initialized everything, and is okay to go
    303327 *
    304  * @since bbPress (r2618)
     328 * @since 2.0.0 bbPress (r2618)
     329 *
    305330 * @uses do_action() Calls 'bbp_ready'
    306331 */
     
    315340 * permitted by the current_user
    316341 *
    317  * @since bbPress (r3605)
     342 * @since 2.1.0 bbPress (r3605)
     343 *
    318344 * @uses do_action()
    319345 */
     
    327353 * The main action used for executing code before the theme has been setup
    328354 *
    329  * @since bbPress (r3829)
     355 * @since 2.1.0 bbPress (r3829)
     356 *
    330357 * @uses do_action()
    331358 */
     
    337364 * The main action used for executing code before the theme has been setup
    338365 *
    339  * @since bbPress (r3732)
     366 * @since 2.1.0 bbPress (r3732)
     367 *
    340368 * @uses do_action()
    341369 */
     
    347375 * The main action used for executing code after the theme has been setup
    348376 *
    349  * @since bbPress (r3732)
     377 * @since 2.1.0 bbPress (r3732)
     378 *
    350379 * @uses do_action()
    351380 */
     
    357386 * The main action used for handling theme-side POST requests
    358387 *
    359  * @since bbPress (r4550)
     388 * @since 2.3.0 bbPress (r4550)
     389 *
    360390 * @uses do_action()
    361391 */
     
    386416 * The main action used for handling theme-side GET requests
    387417 *
    388  * @since bbPress (r4550)
     418 * @since 2.3.0 bbPress (r4550)
     419 *
    389420 * @uses do_action()
    390421 */
     
    417448 * Filter the plugin locale and domain.
    418449 *
    419  * @since bbPress (r4213)
     450 * @since 2.2.0 bbPress (r4213)
    420451 *
    421452 * @param string $locale
     
    429460 * Piggy back filter for WordPress's 'request' filter
    430461 *
    431  * @since bbPress (r3758)
     462 * @since 2.1.0 bbPress (r3758)
     463 *
    432464 * @param array $query_vars
    433465 * @return array
     
    441473 * theme files.
    442474 *
    443  * @since bbPress (r3311)
     475 * @since 2.0.0 bbPress (r3311)
     476 *
    444477 * @uses apply_filters()
    445478 * @param string $template
     
    453486 * Generate bbPress-specific rewrite rules
    454487 *
    455  * @since bbPress (r2688)
    456  * @deprecated since bbPress (r4918)
     488 * @since 2.0.0 bbPress (r2688)
     489 *
     490 * @deprecated 2.4.0 bbPress (r4918)
     491 *
    457492 * @param WP_Rewrite $wp_rewrite
    458493 * @uses do_action() Calls 'bbp_generate_rewrite_rules' with {@link WP_Rewrite}
     
    465500 * Filter the allowed themes list for bbPress specific themes
    466501 *
    467  * @since bbPress (r2944)
     502 * @since 2.0.0 bbPress (r2944)
     503 *
    468504 * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list
    469505 */
     
    475511 * Maps forum/topic/reply caps to built in WordPress caps
    476512 *
    477  * @since bbPress (r2593)
     513 * @since 2.0.0 bbPress (r2593)
    478514 *
    479515 * @param array $caps Capabilities for meta capability
Note: See TracChangeset for help on using the changeset viewer.