Changeset 1959
- Timestamp:
- 09/25/2009 10:26:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1950 r1959 1707 1707 1708 1708 function bp_core_add_ajax_hook() { 1709 do_action( 'wp_ajax_' . $_REQUEST['action'] ); 1709 /* Theme only, we already have the wp_ajax_ hook firing in wp-admin */ 1710 if ( !defined( 'WP_ADMIN' ) ) 1711 do_action( 'wp_ajax_' . $_REQUEST['action'] ); 1710 1712 } 1711 1713 add_action( 'init', 'bp_core_add_ajax_hook' );
Note: See TracChangeset
for help on using the changeset viewer.