Use var SUCCESS instead of 'success' string for promise assertions
Use var SUCCESS instead of 'success' string for promise assertions

Using a variable makes it less likely that errors will be introduced
by mis-typing "success"; variable naming can be checked via JSHint.

WP-API/node-wpapi,kadamwhite/wordpress-rest-api,kadamwhite/wordpress-rest-api,WP-API/node-wpapi,kadamwhite/wordpress-rest-api