Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/18/2021 07:25:13 PM (3 years ago)
Author:
imath
Message:

Inject Group's Invites & Manage Members JS templates into footer

To make sure JS Templates are injected without being altered in WordPress themes supporting the Full Site Editing feature, we are now doing it inside the page's footer.

HTML placeholders for both UI have been moved out of the JS Templates and a backward compatibility for potential plugins still expecting these placeholders into these templates has been put in place.

See #8474

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-admin.php

    r13106 r13193  
    937937        );
    938938
    939         bp_get_template_part( 'common/js-templates/group-members/index' );
     939        // Inject the Group Manage Members interface.
     940        bp_groups_manage_group_members_interface( 'admin_footer' );
    940941
    941942        /**
Note: See TracChangeset for help on using the changeset viewer.