Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28978, comment 2


Ignore:
Timestamp:
07/22/2014 05:13:27 AM (11 years ago)
Author:
rmccue
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28978, comment 2

    initial v1  
    1 +1. The way we're doing it with the [https://github.com/WP-API/WP-API/blob/master/lib/class-wp-json-server.php#L122-L149 REST API] might be relevant too; basically we return an array of objects with both `code` and `message` properties.
     1+1. The way we're doing it with the [https://github.com/WP-API/WP-API/blob/5aa483677ee47f851148c5cb21fb5b8bd6c6d032/lib/class-wp-json-server.php#L122-L149 REST API] might be relevant too; basically we return an array of objects with both `code` and `message` properties.