Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2016 06:53:30 PM (4 years ago)
Author:
djpaul
Message:

Fix indentation on lines beginning with a space character followed by a tab.

File:
1 edited

Legend:

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

    r10417 r10487  
    14461446
    14471447    /**
    1448      * Filters the list of allowed image types.
    1449      *
    1450      * @since 2.3.0
    1451      *
    1452      * @param array $allowed_types List of image types.
    1453      */
    1454     $avatar_types = (array) apply_filters( 'bp_core_get_allowed_avatar_types', $allowed_types );
    1455 
    1456     if ( empty( $avatar_types ) ) {
    1457         $avatar_types = $allowed_types;
    1458     } else {
    1459         $avatar_types = array_intersect( $allowed_types, $avatar_types );
    1460     }
    1461 
    1462     return array_values( $avatar_types );
     1448     * Filters the list of allowed image types.
     1449     *
     1450     * @since 2.3.0
     1451     *
     1452     * @param array $allowed_types List of image types.
     1453     */
     1454    $avatar_types = (array) apply_filters( 'bp_core_get_allowed_avatar_types', $allowed_types );
     1455
     1456    if ( empty( $avatar_types ) ) {
     1457        $avatar_types = $allowed_types;
     1458    } else {
     1459        $avatar_types = array_intersect( $allowed_types, $avatar_types );
     1460    }
     1461
     1462    return array_values( $avatar_types );
    14631463}
    14641464
Note: See TracChangeset for help on using the changeset viewer.