Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/29/2016 06:12:08 PM (10 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/classes/class-bp-attachment-avatar.php

    r10800 r10825  
    2626         *
    2727         * @see  BP_Attachment::__construct() for list of parameters
    28          * @uses bp_core_avatar_original_max_filesize()
    29          * @uses BP_Attachment::__construct()
    3028         */
    3129        public function __construct() {
    … …  
    6563         * @since 2.3.0
    6664         *
    67          * @uses bp_core_avatar_upload_path()
    68          * @uses bp_core_avatar_url()
    69          * @uses bp_upload_dir()
    70          * @uses BP_Attachment::set_upload_dir()
    7165         */
    7266        public function set_upload_dir() {
    … …  
    8882         * @since 2.3.0
    8983         *
    90          * @uses   bp_core_check_avatar_size()
    91          * @uses   bp_core_check_avatar_type()
    9284         *
    9385         * @param  array $file the temporary file attributes (before it has been moved).
    … …  
    119111         * @since 2.4.0 Add the $ui_available_width parameter, to inform about the Avatar UI width.
    120112         *
    121          * @uses  bp_core_avatar_original_max_width()
    122113         *
    123114         * @param string $file               The absolute path to the file.
    … …  
    185176         * @since 2.3.0
    186177         *
    187          * @uses  bp_core_avatar_full_width()
    188          * @uses  bp_core_avatar_full_height()
    189178         *
    190179         * @param string $file the absolute path to the file.
    … …  
    209198         *
    210199         * @see  BP_Attachment::crop for the list of parameters
    211          * @uses bp_core_fetch_avatar()
    212          * @uses bp_core_delete_existing_avatar()
    213          * @uses bp_core_avatar_full_width()
    214          * @uses bp_core_avatar_full_height()
    215          * @uses bp_core_avatar_dimension()
    216          * @uses BP_Attachment::crop
    217200         *
    218201         * @param array $args Array of arguments for the cropping.
Note: See TracChangeset for help on using the changeset viewer.