Opened 7 years ago

Closed 7 years ago

#2759 closed defect (bug) (fixed)

Response format on has suddenly changed today

Reported by: wpdesk's profile wpdesk Owned by:
Milestone: Priority: normal
Component: API Keywords:


Yesterday the endpoint was responding with serialized body but today it's responding with json response.

that should respond with serialized

{"name":"WooCommerce","slug":"woocommerce","version":"3.0.3","author":"<a href=\"https:\/\/\">Automattic<\/a>","author_profile":"https:\/\/\/woothemes","contributors": ...

and that should respond with json:

In this moment both requests are encoded as json.

On the other hand the rest of endpoints still behaves correctly.

The changed behavior for plugins/info endpoint breaks some wp-cli requests like for example from plugin precache command

Change History (1)

#1 @dd32
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed now (r13080-dotorg - Specifically state the default format of /plugins/info is php, and not json)

Note: See TracTickets for help on using tickets.