WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
04/01/2011 12:15:34 AM (9 years ago)
Author:
sivel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17010, comment 2

    initial v1  
    1 I believe the only time that we should return WP_Error is if the transport failed, not due to the status of the request as defined b the response code.
     1I believe the only time that we should return WP_Error is if the transport failed, not due to the status of the request as defined by the response code.
    22
    33We should always return the response, and only return WP_Error for an actual transport failure.