Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/06/2022 10:12:18 AM (2 years ago)
Author:
imath
Message:

Remove unnecessary 4th argument when using bp_core_get_userlink()

bp_core_get_userlink() only accepts 3 arguments.

Props oztaser

See #8635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-functions.php

    r13255 r13293  
    538538     * @param string|bool $value URL for the user if found, otherwise false.
    539539     */
    540     return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false, true ) );
     540    return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false ) );
    541541}
    542542
     
    565565     * @param string|bool $value URL for the user if found, otherwise false.
    566566     */
    567     return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false, true ) );
     567    return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false ) );
    568568}
    569569
Note: See TracChangeset for help on using the changeset viewer.