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-core/bp-core-caps.php

    r10497 r10825  
    5858 * @since 1.6.0
    5959 *
    60  * @uses get_role() To get the administrator, default and moderator roles.
    61  * @uses WP_Role::add_cap() To add various capabilities.
    62  * @uses do_action() Calls 'bp_add_caps'.
    6360 */
    6461function bp_add_caps() {
     
    9491 * @since 1.6.0
    9592 *
    96  * @uses get_role() To get the administrator and default roles.
    97  * @uses WP_Role::remove_cap() To remove various capabilities.
    98  * @uses do_action() Calls 'bp_remove_caps'.
    9993 */
    10094function bp_remove_caps() {
     
    130124 * @see WP_User::has_cap() for description of the arguments passed to the
    131125 *      'map_meta_cap' filter.
    132  * @uses apply_filters() Calls 'bp_map_meta_caps' with caps, cap, user ID and
    133126 *       args.
    134127 *
     
    159152 * @since 1.6.0
    160153 *
    161  * @uses apply_filters() Calls 'bp_get_community_caps' with the capabilities.
    162  *
    163154 * @return array Community capabilities.
    164155 */
     
    182173 *
    183174 * @since 1.6.0
    184  *
    185  * @uses apply_filters() Allow return value to be filtered.
    186175 *
    187176 * @param string $role The role for which you're loading caps.
     
    233222 * @global BuddyPress $bp Global BuddyPress settings object.
    234223 *
    235  * @uses is_multisite()
    236  * @uses bp_allow_global_access()
    237  * @uses bp_is_user_inactive()
    238  * @uses is_user_logged_in()
    239  * @uses current_user_can()
    240  * @uses WP_User::set_role()
    241224 */
    242225function bp_set_current_user_default_role() {
Note: See TracChangeset for help on using the changeset viewer.