Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/29/2016 06:12:08 PM (9 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-core/admin/bp-core-admin-functions.php

    r10751 r10825  
    1616 * Initializes the wp-admin area "BuddyPress" menus and sub menus.
    1717 *
    18  * @uses bp_current_user_can() returns true if the current user is a site admin, false if not.
    1918 */
    2019function bp_core_admin_menu_init() {
     
    124123 * @since 1.5.0
    125124 *
    126  * @uses bp_current_user_can() to check current user permissions before showing the notices.
    127  * @uses bp_is_root_blog()
    128125 */
    129126function bp_core_print_admin_notices() {
     
    354351 * @internal Used internally to redirect BuddyPress to the about page on activation.
    355352 *
    356  * @uses get_transient() To see if transient to redirect exists.
    357  * @uses delete_transient() To delete the transient if it exists.
    358  * @uses is_network_admin() To bail if being network activated.
    359  * @uses wp_safe_redirect() To redirect.
    360  * @uses add_query_arg() To help build the URL to redirect to.
    361  * @uses admin_url() To get the admin URL to index.php.
    362353 */
    363354function bp_do_activation_redirect() {
     
    617608 * @since 1.7.0
    618609 *
    619  * @uses bp_current_user_can() To check users capability on root blog.
    620610 */
    621611function bp_admin_separator() {
     
    652642 * @since 1.7.0
    653643 *
    654  * @uses bp_current_user_can() To check users capability on root blog.
    655  *
    656644 * @param bool $menu_order Menu order.
    657645 * @return bool Always true.
     
    671659 *
    672660 * @since 1.7.0
    673  *
    674  * @uses bp_current_user_can() To check users capability on root blog.
    675661 *
    676662 * @param array $menu_order Menu Order.
Note: See TracChangeset for help on using the changeset viewer.