Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/15/2020 06:15:19 AM (5 years ago)
Author:
imath
Message:

BP Nouveau: improve bp_directory_members_item hook positioning

In 3.0.0, we wrongly positioned this hook into the Members loop's item meta. We are repositioning it at a more consistent place considering BP Legacy, which is outside of the p.item-meta tag.

Fixes #8183

File:
1 edited

Legend:

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

    r12156 r12570  
    44 *
    55 * @since 3.0.0
    6  * @version 3.1.0
     6 * @version 6.0.0
    77 */
    88
     
    160160 *
    161161 * @since 3.0.0
     162 * @since 6.0.0 Replace wrongly positioned `bp_directory_members_item`
     163 *              with `bp_directory_members_item_meta`
    162164 *
    163165 * @return string|false HTML Output if hooked. False otherwise.
     
    168170    if ( ! empty( $GLOBALS['members_template'] ) ) {
    169171        /**
    170          * Fires inside the display of a directory member item.
     172         * Fires inside the display of metas in the directory member item.
    171173         *
    172          * @since 1.1.0
     174         * @since 6.0.0
    173175         */
    174         do_action( 'bp_directory_members_item' );
     176        do_action( 'bp_directory_members_item_meta' );
    175177
    176178    // It's the user's header
Note: See TracChangeset for help on using the changeset viewer.