Changeset 12547 for trunk/src/bp-core/deprecated/1.6.php
- Timestamp:
- 01/29/2020 09:43:16 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/deprecated/1.6.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/1.6.php
r11773 r12547 8 8 */ 9 9 10 // Exit if accessed directly 10 // Exit if accessed directly. 11 11 defined( 'ABSPATH' ) || exit; 12 12 … … 225 225 226 226 // This is a list of the BP wp_ajax_ hook suffixes whose associated functions did 227 // not die properly before BP 1.6 227 // not die properly before BP 1.6. 228 228 $actions = array( 229 // Directory template loaders 229 // Directory template loaders. 230 230 'members_filter', 231 231 'groups_filter', … … 234 234 'messages_filter', 235 235 236 // Activity 236 // Activity. 237 237 'activity_widget_filter', 238 238 'activity_get_older_updates', … … 246 246 'activity_mark_unfav', 247 247 248 // Groups 248 // Groups. 249 249 'groups_invite_user', 250 250 'joinleave_group', 251 251 252 // Members 252 // Members. 253 253 'addremove_friend', 254 254 'accept_friendship', 255 255 'reject_friendship', 256 256 257 // Messages 257 // Messages. 258 258 'messages_close_notice', 259 259 'messages_send_reply', … … 264 264 ); 265 265 266 // For each of the problematic hooks, exit at the very end of execution 266 // For each of the problematic hooks, exit at the very end of execution. 267 267 foreach( $actions as $action ) { 268 268 add_action( 'wp_ajax_' . $action, function() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)