Changeset 13753
- Timestamp:
- 03/08/2024 01:42:55 AM (11 months ago)
- Location:
- branches/12.0/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/src/bp-core/bp-core-catchuri.php
r13695 r13753 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 } -
branches/12.0/src/bp-core/bp-core-template-loader.php
r13736 r13753 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.