- Timestamp:
- 02/24/2017 08:56:00 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/rest-api/class-wp-rest-request.php
r39642 r40113 365 365 } 366 366 367 $accepts_body_data = array( 'POST', 'PUT', 'PATCH' );367 $accepts_body_data = array( 'POST', 'PUT', 'PATCH', 'DELETE' ); 368 368 if ( in_array( $this->method, $accepts_body_data ) ) { 369 369 $order[] = 'POST';
Note: See TracChangeset
for help on using the changeset viewer.