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/classes/class-bp-attachment.php

    r10417 r10825  
    5151     * @since 2.3.0
    5252     * @since 2.4.0 Add the $upload_dir_filter_args argument to the $arguments array
    53      * @uses                                    sanitize_key()
    54      * @uses                                    wp_max_upload_size()
    55      * @uses                                    bp_parse_args()
    56      * @uses                                    BP_Attachment->set_upload_error_strings()
    57      * @uses                                    BP_Attachment->set_upload_dir()
    5853     *
    5954     * @param array|string $args {
     
    116111     * @since 2.3.0
    117112     *
    118      * @uses bp_upload_dir()
    119113     */
    120114    public function set_upload_dir() {
     
    204198     * @since 2.3.0
    205199     *
    206      * @uses   wp_handle_upload()        To upload the file
    207      * @uses   add_filter()              To temporarly overrides WordPress uploads data
    208      * @uses   remove_filter()           To stop overriding WordPress uploads data
    209      * @uses   apply_filters()           Call 'bp_attachment_upload_overrides' to include specific upload overrides
    210200     *
    211201     * @param  array       $file              The appropriate entry the from $_FILES superglobal.
     
    304294     * @since 2.3.0
    305295     *
    306      * @uses get_allowed_mime_types()
    307296     */
    308297    protected function validate_mime_types() {
     
    355344     * @since 2.4.0 Add the $upload_dir parameter to the method
    356345     *
    357      * @uses apply_filters() call 'bp_attachment_upload_dir' to eventually override the upload location
    358346     *       regarding to context
    359347     *
     
    390378     * @since 2.3.0
    391379     *
    392      * @uses wp_mkdir_p()
    393380     */
    394381    public function create_dir() {
     
    427414     *     @type string $dst_file      Optional. The destination file to write to.
    428415     * }
    429      * @uses wp_crop_image()
    430416     *
    431417     * @return string|WP_Error New filepath on success, WP_Error on failure.
Note: See TracChangeset for help on using the changeset viewer.