kadamwhite/wordpress-rest-api — pull request #40 by kadamwhite (2014-06-27 18:43:38+00:00)
Title: Change WPRequest.then to accept a failure callback

@jugglinmike suggested the `.then` method on `WPRequest` should expose the full signature of Promise#then, and accept both success and failure callbacks. Thanks for the feedback, the change has been made!