Changeset 6498 for trunk/src/includes/common/ajax.php
- Timestamp:
- 06/08/2017 01:58:51 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/ajax.php
r6438 r6498 54 54 55 55 /** 56 * Hooked to the 'bbp_template_redirect' action, this is bbPress'scustom57 * theme-side ajaxhandler.56 * Hooked to the 'bbp_template_redirect' action, this is also the custom 57 * theme-side AJAX handler. 58 58 * 59 59 * @since 2.3.0 bbPress (r4543) 60 60 * 61 * @return If not a bbPress ajaxrequest61 * @return If not a bbPress AJAX request 62 62 */ 63 63 function bbp_do_ajax() { 64 64 65 // Bail if not an ajaxrequest65 // Bail if not an AJAX request 66 66 if ( ! bbp_is_ajax() ) { 67 67 return; 68 68 } 69 69 70 // Set WordPress core ajaxconstant70 // Set WordPress core AJAX constant 71 71 define( 'DOING_AJAX', true ); 72 72 … … 85 85 86 86 /** 87 * Helper method to return JSON response for the ajaxcalls87 * Helper method to return JSON response for the AJAX calls 88 88 * 89 89 * @since 2.3.0 bbPress (r4542)
Note: See TracChangeset
for help on using the changeset viewer.