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/update.php

    r6535 r6573  
    1616 * @since 2.1.0 bbPress (r3764)
    1717 *
    18  * @uses get_option()
    19  * @uses bbp_get_db_version() To get the database version
    2018 * @return bool True if update, False if not
    2119 */
     
    2927 * @since 2.0.0 bbPress (r3421)
    3028 *
    31  * @uses get_option()
    32  * @uses bbp_get_db_version() To get the database version
    3329 * @return bool True if update, False if not
    3430 */
     
    147143 *
    148144 * @since 2.0.0 bbPress (r3421)
    149  *
    150  * @uses update_option()
    151  * @uses bbp_get_db_version() To get the database version
    152145 */
    153146function bbp_version_bump() {
     
    159152 *
    160153 * @since 2.0.0 bbPress (r3419)
    161  *
    162  * @uses bbp_is_update()
    163  * @uses bbp_version_updater()
    164154 */
    165155function bbp_setup_updater() {
     
    369359 * @internal Used internally to redirect bbPress to the about page on activation
    370360 *
    371  * @uses is_network_admin() To bail if being network activated
    372  * @uses set_transient() To drop the activation transient for 30 seconds
    373  *
    374361 * @return If network admin or bulk activation
    375362 */
     
    393380 *
    394381 * @internal Used to internally make the current user a keymaster on activation
    395  *
    396  * @uses current_user_can() to bail if user cannot activate plugins
    397  * @uses get_current_user_id() to get the current user ID
    398  * @uses get_current_blog_id() to get the current blog ID
    399  * @uses is_user_member_of_blog() to bail if the current user does not have a role
    400  * @uses bbp_is_user_keymaster() to bail if the user is already a keymaster
    401  * @uses bbp_set_user_role() to make the current user a keymaster
    402382 *
    403383 * @return If user can't activate plugins or is already a keymaster
Note: See TracChangeset for help on using the changeset viewer.