Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#2759 closed defect (fixed)

Response format on https://api.wordpress.org/ has suddenly changed today

Reported by: wpdesk Owned by:
Milestone: Priority: normal
Component: API Keywords:


Yesterday the https://api.wordpress.org/plugins/info/1.0/slug endpoint was responding with serialized body but today it's responding with json response.

that should respond with serialized https://api.wordpress.org/plugins/info/1.0/woocommerce

{"name":"WooCommerce","slug":"woocommerce","version":"3.0.3","author":"<a href=\"https:\/\/woocommerce.com\">Automattic<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/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 https://github.com/runcommand/precache

Change History (1)

#1 @dd32
5 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.