Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/26/2023 05:29:26 AM (9 months ago)
Author:
imath
Message:

Add BP Rewrites API support to Activities auto-refreshing feature

Do register the heatbeat Ajax action into the buddypress()->ajax_actions global. This registration was missed during the BP Rewrites migrating process.

See #4954
Fixes #8954
Closes https://github.com/buddypress/buddypress/pull/139

File:
1 edited

Legend:

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

    r13503 r13526  
    564564 */
    565565function bp_nouveau_register_activity_ajax_actions() {
    566     $ajax_actions = array( 'activity_filter', 'get_single_activity_content', 'activity_mark_fav', 'activity_mark_unfav', 'activity_clear_new_mentions', 'delete_activity', 'new_activity_comment', 'bp_nouveau_get_activity_objects', 'post_update', 'bp_spam_activity' );
     566    $ajax_actions = array( 'activity_filter', 'get_single_activity_content', 'activity_mark_fav', 'activity_mark_unfav', 'activity_clear_new_mentions', 'delete_activity', 'new_activity_comment', 'bp_nouveau_get_activity_objects', 'post_update', 'bp_spam_activity', 'heartbeat' );
    567567
    568568    foreach ( $ajax_actions as $ajax_action ) {
Note: See TracChangeset for help on using the changeset viewer.