Skip to:
Content

BuddyPress.org

Changeset 12572


Ignore:
Timestamp:
03/15/2020 10:25:48 AM (12 months ago)
Author:
imath
Message:

Attachments: improve consistency of a Group Cover filter name

Props shanebp

Fixes #8238

File:
1 edited

Legend:

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

    r12558 r12572  
    11491149 *
    11501150 * @since 2.4.0
     1151 * @since 6.0.0 Renamed the filter coherently.
    11511152 *
    11521153 * @param int $group_id Group ID to check cover image existence for.
     
    11631164    ) );
    11641165
    1165     return (bool) apply_filters( 'bp_attachments_get_user_has_cover_image', $cover_src, $group_id );
     1166    return (bool) apply_filters( 'bp_attachments_get_group_has_cover_image', $cover_src, $group_id );
    11661167}
    11671168
Note: See TracChangeset for help on using the changeset viewer.