Changes between Initial Version and Version 1 of Ticket #28786, comment 39
- Timestamp:
- 11/02/2014 05:56:30 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28786, comment 39
initial v1 4 4 Right, also a "proper" JSON encoded value is `'false'`, `'0'`, `'""'`, etc. On the JS side JSON.parse() and jQuery.parseJSON() throw errors on empty string, int, etc. 5 5 6 We should alsohandle the `false` returned from `wp_json_encode()` in `wp_send_json_success()` and `wp_send_json_error()`.6 We should probably handle the `false` returned from `wp_json_encode()` in `wp_send_json_success()` and `wp_send_json_error()`.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)