Changeset 13878 for trunk/src/bp-core/deprecated/1.6.php
- Timestamp:
- 06/01/2024 04:26:18 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/deprecated/1.6.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/1.6.php
r13824 r13878 265 265 266 266 // For each of the problematic hooks, exit at the very end of execution. 267 foreach ( $actions as $action ) {268 add_action( 'wp_ajax_' . $action, function () {267 foreach ( $actions as $action ) { 268 add_action( 'wp_ajax_' . $action, function () { 269 269 exit; 270 270 }, 9999 ); 271 271 272 add_action( 'wp_ajax_nopriv_' . $action, function () {272 add_action( 'wp_ajax_nopriv_' . $action, function () { 273 273 exit; 274 274 }, 9999 );
Note: See TracChangeset
for help on using the changeset viewer.