Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/29/2016 06:12:08 PM (6 years ago)
Author:
djpaul
Message:

Remove redundant @uses PHPDoc tag from inline documentation.

Per 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/bp-activity/bp-activity-actions.php

    r10551 r10825  
    1818 * @since 1.2.0
    1919 *
    20  * @uses do_action() To call 'bp_register_activity_actions' hook.
    2120 */
    2221function bp_register_activity_actions() {
     
    3534 *
    3635 * @since 1.2.0
    37  *
    38  * @uses bp_is_activity_component()
    39  * @uses bp_is_current_action()
    40  * @uses bp_action_variable()
    41  * @uses bp_activity_get_specific()
    42  * @uses bp_is_active()
    43  * @uses bp_core_get_user_domain()
    44  * @uses groups_get_group()
    45  * @uses bp_get_group_permalink()
    46  * @uses apply_filters_ref_array() To call the 'bp_activity_permalink_redirect_url' hook.
    47  * @uses bp_core_redirect()
    48  * @uses bp_get_root_domain()
    4936 *
    5037 * @return bool False on failure.
     
    123110 * @since 1.1.0
    124111 *
    125  * @uses bp_is_activity_component()
    126  * @uses bp_is_current_action()
    127  * @uses bp_action_variable()
    128  * @uses check_admin_referer()
    129  * @uses bp_activity_user_can_delete()
    130  * @uses do_action() Calls 'bp_activity_before_action_delete_activity' hook to allow actions to be taken before the activity is deleted.
    131  * @uses bp_activity_delete()
    132  * @uses bp_core_add_message()
    133  * @uses do_action() Calls 'bp_activity_action_delete_activity' hook to allow actions to be taken after the activity is deleted.
    134  * @uses bp_core_redirect()
    135  *
    136112 * @param int $activity_id Activity id to be deleted. Defaults to 0.
    137113 * @return bool False on failure.
     
    267243 *
    268244 * @since 1.2.0
    269  *
    270  * @uses is_user_logged_in()
    271  * @uses bp_is_activity_component()
    272  * @uses bp_is_current_action()
    273  * @uses check_admin_referer()
    274  * @uses apply_filters() To call 'bp_activity_post_update_content' hook.
    275  * @uses apply_filters() To call 'bp_activity_post_update_object' hook.
    276  * @uses apply_filters() To call 'bp_activity_post_update_item_id' hook.
    277  * @uses bp_core_add_message()
    278  * @uses bp_core_redirect()
    279  * @uses bp_activity_post_update()
    280  * @uses groups_post_update()
    281  * @uses bp_core_redirect()
    282  * @uses apply_filters() To call 'bp_activity_custom_update' hook.
    283245 *
    284246 * @return bool False on failure.
     
    372334 * @since 1.2.0
    373335 *
    374  * @uses is_user_logged_in()
    375  * @uses bp_is_activity_component()
    376  * @uses bp_is_current_action()
    377  * @uses check_admin_referer()
    378  * @uses apply_filters() To call 'bp_activity_post_comment_activity_id' hook.
    379  * @uses apply_filters() To call 'bp_activity_post_comment_content' hook.
    380  * @uses bp_core_add_message()
    381  * @uses bp_core_redirect()
    382  * @uses bp_activity_new_comment()
    383  * @uses wp_get_referer()
    384  *
    385336 * @return bool False on failure.
    386337 */
     
    436387 * @since 1.2.0
    437388 *
    438  * @uses is_user_logged_in()
    439  * @uses bp_is_activity_component()
    440  * @uses bp_is_current_action()
    441  * @uses check_admin_referer()
    442  * @uses bp_activity_add_user_favorite()
    443  * @uses bp_action_variable()
    444  * @uses bp_core_add_message()
    445  * @uses bp_core_redirect()
    446  * @uses wp_get_referer()
    447  *
    448389 * @return bool False on failure.
    449390 */
     
    470411 * @since 1.2.0
    471412 *
    472  * @uses is_user_logged_in()
    473  * @uses bp_is_activity_component()
    474  * @uses bp_is_current_action()
    475  * @uses check_admin_referer()
    476  * @uses bp_activity_remove_user_favorite()
    477  * @uses bp_action_variable()
    478  * @uses bp_core_add_message()
    479  * @uses bp_core_redirect()
    480  * @uses wp_get_referer()
    481  *
    482413 * @return bool False on failure.
    483414 */
     
    504435 * @since 1.0.0
    505436 *
    506  * @uses bp_is_activity_component()
    507  * @uses bp_is_current_action()
    508  * @uses bp_is_user()
    509  * @uses status_header()
    510  *
    511437 * @return bool False on failure.
    512438 */
     
    536462 * @since 1.0.0
    537463 *
    538  * @uses bp_is_user_activity()
    539  * @uses bp_is_current_action()
    540  * @uses status_header()
    541  *
    542464 * @return bool False on failure.
    543465 */
     
    566488 * @since 1.0.0
    567489 *
    568  * @uses bp_is_active()
    569  * @uses bp_is_user_activity()
    570  * @uses bp_is_current_action()
    571  * @uses bp_get_friends_slug()
    572  * @uses bp_is_action_variable()
    573  * @uses status_header()
    574  *
    575490 * @return bool False on failure.
    576491 */
     
    598513 *
    599514 * @since 1.2.0
    600  *
    601  * @uses bp_is_active()
    602  * @uses bp_is_user_activity()
    603  * @uses bp_is_current_action()
    604  * @uses bp_get_groups_slug()
    605  * @uses bp_is_action_variable()
    606  * @uses status_header()
    607515 *
    608516 * @return bool False on failure.
     
    640548 * @since 1.2.0
    641549 *
    642  * @uses bp_is_user_activity()
    643  * @uses bp_is_current_action()
    644  * @uses bp_is_action_variable()
    645  * @uses status_header()
    646  *
    647550 * @return bool False on failure.
    648551 */
     
    676579 *
    677580 * @since 1.2.0
    678  *
    679  * @uses bp_is_user_activity()
    680  * @uses bp_is_current_action()
    681  * @uses bp_is_action_variable()
    682  * @uses status_header()
    683581 *
    684582 * @return bool False on failure.
Note: See TracChangeset for help on using the changeset viewer.