Changeset 4951 for trunk/includes/common/ajax.php
- Timestamp:
- 05/27/2013 06:36:06 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/common/ajax.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/ajax.php
r4733 r4951 49 49 */ 50 50 function bbp_is_ajax() { 51 return (bool) ( isset( $_GET['bbp-ajax']) && ! empty( $_REQUEST['action'] ) );51 return (bool) ( ( isset( $_GET['bbp-ajax'] ) || isset( $_POST['bbp-ajax'] ) ) && ! empty( $_REQUEST['action'] ) ); 52 52 } 53 53
Note: See TracChangeset
for help on using the changeset viewer.