Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/05/2018 06:21:08 AM (8 years ago)
Author:
imath
Message:

BP Nouveau: use a JS Template for the feedbacks of the Messages UI

Using a JS template avoids to transport common HTML tags inside the Ajax replies.

See #7794

File:
1 edited

Legend:

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

    r12054 r12058  
    9999            'send' => wp_create_nonce( 'messages_send_message' ),
    100100        ),
    101         'loading' => '<div class="bp-feedback info"><span class="bp-icon" aria-hidden="true"></span><p>' . __( 'Loading messages. Please wait.', 'buddypress' ) . '</p></div>',
     101        'loading' => __( 'Loading messages. Please wait.', 'buddypress' ),
    102102        'bulk_actions' => bp_nouveau_messages_get_bulk_actions(),
    103103    );
Note: See TracChangeset for help on using the changeset viewer.