Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Raw data goes unused when sent to an endpoint. #91

Closed
tlovett1 opened this Issue · 3 comments

3 participants

@tlovett1

In class-wp-json-server.php, when dispatching callbacks if an endpoint expects raw data that data will end up going unused breaking the endpoint:

elseif ( $supported & self::ACCEPT_RAW ) {
    $data = $this->get_raw_data();
}
@rmccue
Owner

Confirmed, thanks for the report!

@rmccue rmccue added the Bug label
@rmccue rmccue added this to the 1.0 milestone
@rachelbaker
Owner

@tlovett1 Would you be able to work up a patch for this?

@tlovett1

Sure!

@rachelbaker rachelbaker closed this in #155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.