- Timestamp:
- 02/15/2018 03:52:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/ajax.php
r11856 r11858 40 40 41 41 // Bail if not a POST action. 42 if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD']) || empty( $_POST['action'] ) ) {42 if ( ! bp_is_post_request() || empty( $_POST['action'] ) ) { 43 43 wp_send_json_error( $response ); 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.