Commit Graph

52 Commits

Author SHA1 Message Date
Max Rice 9c7791e3d8 urldecode parameters before passing to resource methods 2013-11-10 18:29:37 -05:00
Max Rice ed6de29bfc Add new WC_API_Server class
Based on WP_JSON_Server, this class add response handling based on
endpoint suffixes (.json or .xml) or the ACCEPT header. It also removes
some unneeded functionality and renames filters so as to not conflict
with users who may have WP-API installed already. Finally, instead of
no authentication required by default, authentication is always
required unless specifically disabled via filters.
2013-11-06 01:53:07 -05:00