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-legacy/buddypress-functions.php

    r13520 r13526  
    189189            add_action( 'wp_ajax_nopriv_' . $name, $function );
    190190        }
     191
     192        // Register the heartbeat Ajax action.
     193        bp_ajax_register_action( 'heartbeat' );
    191194
    192195        add_filter( 'bp_ajax_querystring', 'bp_legacy_theme_ajax_querystring', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.