rooftopcms / rooftop-cms

Rooftop CMS is an API-first WordPress CMS for developers and content creators
http://www.rooftopcms.com
GNU General Public License v3.0
220 stars 23 forks source link

Return JSON when a site has been deactivated #39

Open edtjones opened 8 years ago

edtjones commented 8 years ago

When deactivating a site we return WP's default 401 message which is in HTML. Would be nicer for it to be in JSON really - especially /wp-json endpoints.