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-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php

    r12405 r13193  
    44 *
    55 * @since 3.0.0
    6  * @version 5.0.0
     6 * @version 10.0.0
    77 */
    88?>
     
    1515
    1616<?php if ( bp_rest_api_is_available() ) :
    17     /**
    18      * Get the templates to manage Group Members using the BP REST API.
    19      *
    20      * @since 5.0.0
    21      */
    22     bp_get_template_part( 'common/js-templates/group-members/index' );
     17
     18    bp_groups_manage_group_members_interface();
    2319
    2420else : ?>
Note: See TracChangeset for help on using the changeset viewer.