Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/03/2016 05:01:13 AM (9 years ago)
Author:
tw2113
Message:

Adds many missing @since tags to the BP Core component.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-avatars.php

    r10496 r10497  
    1313/**
    1414 * Set up the constants we need for avatar support.
     15 *
     16 * @since 1.2.0
    1517 */
    1618function bp_core_set_avatar_constants() {
     
    105107 *    add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
    106108 *
     109 * @since 1.1.0
    107110 * @since 2.4.0 Added 'extra_attr', 'scheme', 'rating' and 'force_default' for $args.
    108111 *              These are inherited from WordPress 4.2.0. See {@link get_avatar()}.
     
    634637            $url_args['r'] = strtolower( $params['rating'] );
    635638        }
    636         // Only set default image if 'Gravatar Logo' is not requested
     639        // Only set default image if 'Gravatar Logo' is not requested.
    637640        if ( 'gravatar_default' !== $default_grav ) {
    638641            $url_args['d'] = $default_grav;
     
    674677/**
    675678 * Delete an existing avatar.
     679 *
     680 * @since 1.1.0
    676681 *
    677682 * @param array|string $args {
     
    819824 * location.
    820825 *
     826 * @since 1.1.0
     827 *
    821828 * @see bp_core_check_avatar_upload()
    822829 * @see bp_core_check_avatar_type()
     
    11171124 *  crop_x - The horizontal starting point of the crop
    11181125 *  crop_y - The vertical starting point of the crop
     1126 *
     1127 * @since 1.1.0
    11191128 *
    11201129 * @param array|string $args {
     
    13181327 * See 'get_avatar' filter description in wp-includes/pluggable.php.
    13191328 *
     1329 * @since 1.1.0
    13201330 * @since 2.4.0 Added $args parameter to coincide with WordPress 4.2.0.
    13211331 *
     
    14141424 * Is the current avatar upload error-free?
    14151425 *
     1426 * @since 1.0.0
     1427 *
    14161428 * @param array $file The $_FILES array.
    14171429 * @return bool True if no errors are found. False if there are errors.
     
    14261438/**
    14271439 * Is the file size of the current avatar upload permitted?
     1440 *
     1441 * @since 1.0.0
    14281442 *
    14291443 * @param array $file The $_FILES array.
     
    14781492 *
    14791493 * Permitted file types are JPG, GIF and PNG.
     1494 *
     1495 * @since 1.0.0
    14801496 *
    14811497 * @param array $file The $_FILES array.
     
    15661582 * Get the absolute upload path for the WP installation.
    15671583 *
     1584 * @since 1.2.0
     1585 *
    15681586 * @uses bp_core_get_upload_dir() To get upload directory info.
    15691587 *
     
    15841602/**
    15851603 * Get the raw base URL for root site upload location.
     1604 *
     1605 * @since 1.2.0
    15861606 *
    15871607 * @uses bp_core_get_upload_dir() To get upload directory info.
     
    18501870 * @since  2.2.0
    18511871 *
    1852  * @param  WP_Query|null $posts_query the main query object.
    1853  *
    18541872 * @uses   bp_is_group_create()
    18551873 * @uses   bp_is_group_admin_page()
     
    18571875 * @uses   bp_action_variable() to check for the group's avatar creation step
    18581876 * @uses   bp_is_user_change_avatar() to check for the user's change profile screen
     1877 *
     1878 * @param WP_Query|null $posts_query The main query object.
    18591879 */
    18601880function bp_core_avatar_reset_query( $posts_query = null ) {
     
    19341954 * @global $is_safari
    19351955 * @global $is_IE
     1956 *
    19361957 * @return bool True to load the Webcam Avatar UI part. False otherwise.
    19371958 */
Note: See TracChangeset for help on using the changeset viewer.