Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/16/2017 09:20:52 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Documentation: Remove all @uses usages.

Per the WordPress inline documentation standards:

the @uses tag is not recommended to be used to indicate a used-by relationship, as this information can be derived through other means. These tags also are very likely to become out-of-date as our functions change over time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/sub-actions.php

    r6479 r6573  
    88 * own in a safe and reliable way.
    99 *
    10  * We do this in bbPress by mirroring existing WordPress hookss in many places
     10 * We do this in bbPress by mirroring existing WordPress hooks in many places
    1111 * allowing dependant plugins to hook into the bbPress specific ones, thus
    1212 * guaranteeing proper code execution only when bbPress is active.
    1313 *
    14  * The following functions are wrappers for hookss, allowing them to be
     14 * The following functions are wrappers for hooks, allowing them to be
    1515 * manually called and/or piggy-backed on top of other hooks if needed.
    1616 *
     
    1818 * @subpackage Core
    1919 *
    20  * @todo use anonymous functions when PHP minimun requirement allows (5.3)
     20 * @todo use anonymous functions when PHP minimum requirement allows (5.3)
    2121 */
    2222
     
    2727 *
    2828 * @since 2.0.0 bbPress (r2509)
    29  *
    30  * @uses register_uninstall_hook() To register our own uninstall hook
    31  * @uses do_action() Calls 'bbp_activation' hook
    3229 */
    3330function bbp_activation() {
     
    3936 *
    4037 * @since 2.0.0 bbPress (r2509)
    41  *
    42  * @uses do_action() Calls 'bbp_deactivation' hook
    4338 */
    4439function bbp_deactivation() {
     
    5045 *
    5146 * @since 2.0.0 bbPress (r2509)
    52  *
    53  * @uses do_action() Calls 'bbp_uninstall' hook
    5447 */
    5548function bbp_uninstall() {
     
    6356 *
    6457 * @since 2.0.0 bbPress (r2599)
    65  *
    66  * @uses do_action() Calls 'bbp_loaded'
    6758 */
    6859function bbp_loaded() {
     
    7465 *
    7566 * @since 2.0.0 bbPress (r2599)
    76  *
    77  * @uses do_action() Calls 'bbp_constants'
    7867 */
    7968function bbp_constants() {
     
    8574 *
    8675 * @since 2.0.0 bbPress (r2599)
    87  *
    88  * @uses do_action() Calls 'bbp_boot_strap_globals'
    8976 */
    9077function bbp_boot_strap_globals() {
     
    9683 *
    9784 * @since 2.0.0 bbPress (r2599)
    98  *
    99  * @uses do_action() Calls 'bbp_includes'
    10085 */
    10186function bbp_includes() {
     
    10792 *
    10893 * @since 2.0.0 bbPress (r2599)
    109  *
    110  * @uses do_action() Calls 'bbp_setup_globals'
    11194 */
    11295function bbp_setup_globals() {
     
    118101 *
    119102 * @since 2.2.0 bbPress (r4180)
    120  *
    121  * @uses do_action() Calls 'bbp_register'
    122103 */
    123104function bbp_register() {
     
    129110 *
    130111 * @since 2.0.0 bbPress (r2599)
    131  *
    132  * @uses do_action() Calls 'bbp_init'
    133112 */
    134113function bbp_init() {
     
    141120 * @since 2.6.0 bbPress (r6106)
    142121 *
    143  * @uses do_action() Calls 'bbp_roles_init'
    144  *
    145122 * @param WP_Roles $wp_roles The array of WP_Role objects that was initialized
    146123 */
     
    153130 *
    154131 * @since 2.0.0 bbPress (r3389)
    155  *
    156  * @uses do_action() Calls 'bbp_widgets_init'
    157132 */
    158133function bbp_widgets_init() {
     
    167142 *
    168143 * @since 2.0.0 bbPress (r2695)
    169  *
    170  * @uses do_action() Calls 'bbp_setup_current_user'
    171144 */
    172145function bbp_setup_current_user() {
     
    180153 *
    181154 * @since 2.0.0 bbPress (r2599)
    182  *
    183  * @uses do_action() Calls 'bbp_load_textdomain'
    184155 */
    185156function bbp_load_textdomain() {
     
    191162 *
    192163 * @since 2.0.0 bbPress (r2464)
    193  *
    194  * @uses do_action() Calls 'bbp_register_post_type'
    195164 */
    196165function bbp_register_post_types() {
     
    202171 *
    203172 * @since 2.0.0 bbPress (r2727)
    204  *
    205  * @uses do_action() Calls 'bbp_register_post_statuses'
    206173 */
    207174function bbp_register_post_statuses() {
     
    213180 *
    214181 * @since 2.0.0 bbPress (r2464)
    215  *
    216  * @uses do_action() Calls 'bbp_register_taxonomies'
    217182 */
    218183function bbp_register_taxonomies() {
     
    224189 *
    225190 * @since 2.0.0 bbPress (r2789)
    226  *
    227  * @uses do_action() Calls 'bbp_register_views'
    228191 */
    229192function bbp_register_views() {
     
    235198 *
    236199 * @since 2.2.0 bbPress (r4211)
    237  *
    238  * @uses do_action() Calls 'bbp_register_shortcodes'
    239200 */
    240201function bbp_register_shortcodes() {
     
    246207 *
    247208 * @since 2.6.0 bbPress (r46300)
    248  *
    249  * @uses do_action() Calls 'bbp_register_meta'
    250209 */
    251210function bbp_register_meta() {
     
    257216 *
    258217 * @since 2.0.0 bbPress (r3373)
    259  *
    260  * @uses do_action() Calls 'bbp_enqueue_scripts'
    261218 */
    262219function bbp_enqueue_scripts() {
     
    268225 *
    269226 * @since 2.0.0 bbPress (r2753)
    270  *
    271  * @uses do_action() Calls 'bbp_add_rewrite_tags'
    272227 */
    273228function bbp_add_rewrite_tags() {
     
    279234 *
    280235 * @since 2.4.0 bbPress (r4918)
    281  *
    282  * @uses do_action() Calls 'bbp_add_rewrite_rules'
    283236 */
    284237function bbp_add_rewrite_rules() {
     
    290243 *
    291244 * @since 2.4.0 bbPress (r4918)
    292  *
    293  * @uses do_action() Calls 'bbp_add_permastructs'
    294245 */
    295246function bbp_add_permastructs() {
     
    301252 *
    302253 * @since 2.0.0 bbPress (r2753)
    303  *
    304  * @uses do_action() Calls 'bbp_login_form_login'
    305254 */
    306255function bbp_login_form_login() {
     
    317266 * @param int $user_id ID of user being edited
    318267 * @param array $old_user_data The old, unmodified user data
    319  * @uses do_action() Calls 'bbp_profile_update'
    320268 */
    321269function bbp_profile_update( $user_id = 0, $old_user_data = array() ) {
     
    329277 *
    330278 * @param int $user_id ID of user being edited
    331  * @uses do_action() Calls 'bbp_user_register'
    332279 */
    333280function bbp_user_register( $user_id = 0 ) {
     
    341288 *
    342289 * @since 2.0.0 bbPress (r2618)
    343  *
    344  * @uses do_action() Calls 'bbp_ready'
    345290 */
    346291function bbp_ready() {
     
    355300 *
    356301 * @since 2.1.0 bbPress (r3605)
    357  *
    358  * @uses do_action()
    359302 */
    360303function bbp_template_redirect() {
     
    368311 *
    369312 * @since 2.1.0 bbPress (r3829)
    370  *
    371  * @uses do_action()
    372313 */
    373314function bbp_register_theme_packages() {
     
    379320 *
    380321 * @since 2.1.0 bbPress (r3732)
    381  *
    382  * @uses do_action()
    383322 */
    384323function bbp_setup_theme() {
     
    390329 *
    391330 * @since 2.1.0 bbPress (r3732)
    392  *
    393  * @uses do_action()
    394331 */
    395332function bbp_after_setup_theme() {
     
    401338 *
    402339 * @since 2.3.0 bbPress (r4550)
    403  *
    404  * @uses do_action()
    405340 */
    406341function bbp_post_request() {
     
    431366 *
    432367 * @since 2.3.0 bbPress (r4550)
    433  *
    434  * @uses do_action()
    435368 */
    436369function bbp_get_request() {
     
    493426 * @since 2.0.0 bbPress (r3311)
    494427 *
    495  * @uses apply_filters()
    496428 * @param string $template
    497429 * @return string Template file to use
     
    511443 *
    512444 * @param WP_Rewrite $wp_rewrite
    513  * @uses do_action() Calls 'bbp_generate_rewrite_rules' with {@link WP_Rewrite}
    514445 */
    515446function bbp_generate_rewrite_rules( $wp_rewrite ) {
     
    523454 *
    524455 * @param array $themes
    525  * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list
    526456 *
    527457 * @return array Array of allowed themes
Note: See TracChangeset for help on using the changeset viewer.