WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20615, comment 5


Ignore:
Timestamp:
08/23/13 01:14:12 (19 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20615, comment 5

    initial v1  
    22> But it would be nice for the API to return more than just "NULL". 
    33 
    4 Yes, looks like currently there's no reliable way to detect if the request failed due to an invalid slug and not a general connection error. We would just have to assume that null means an invalid slug. 
     4Yes, looks like currently there's no reliable way to detect if the request failed due to an invalid slug and not some general error. We would just have to assume that null means an invalid slug.