Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 11:43:46 AM (8 years ago)
Author:
djpaul
Message:

Legacy templates: move action in friend request template.

The bp_friend_requests_item action has been positioned incorrectly
outside the .item div since BP-Default. This change moves it inside
the div.

Fixes #6583

Props pareshradadiya

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php

    r10181 r10241  
    4343                    <div class="item-title"><a href="<?php bp_member_link(); ?>"><?php bp_member_name(); ?></a></div>
    4444                    <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
     45
     46                    <?php
     47                    /**
     48                     * Fires inside the display of a member friend request item.
     49                     *
     50                     * @since 1.1.0
     51                     */
     52                    do_action( 'bp_friend_requests_item' );
     53                    ?>
    4554                </div>
    46 
    47                 <?php
    48 
    49                 /**
    50                  * Fires inside the display of a member friend request item.
    51                  *
    52                  * @since 1.1.0
    53                  */
    54                 do_action( 'bp_friend_requests_item' ); ?>
    5555
    5656                <div class="action">
Note: See TracChangeset for help on using the changeset viewer.