Changeset 13752
- Timestamp:
- 03/08/2024 01:33:21 AM (11 months ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-catchuri.php
r13694 r13752 31 31 // Only set BuddyPress URI globals for registered Ajax actions. 32 32 if ( ! bp_ajax_action_is_registered( $action ) ) { 33 return; 34 } 35 36 if ( 'heartbeat' === $action && empty( $_REQUEST['data']['bp_heartbeat'] ) ) { 33 37 return; 34 38 } -
trunk/src/bp-core/bp-core-template-loader.php
r13735 r13752 620 620 } 621 621 622 if ( isset( $_POST['action'] ) && 'heartbeat' === $_POST['action'] && empty( $_POST['data']['bp_heartbeat'] ) ) { 623 return; 624 } 625 622 626 // Prevent doing this again. 623 627 remove_action( 'parse_query', 'bp_parse_ajax_referer_query', 2 );
Note: See TracChangeset
for help on using the changeset viewer.