[wp-trac] [WordPress Trac] #20605: Be more friendly when API requests fail

WordPress Trac wp-trac at lists.automattic.com
Wed May 2 18:50:12 UTC 2012


#20605: Be more friendly when API requests fail
-------------------------+-----------------
 Reporter:  nacin        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  high         |  Milestone:  3.4
Component:  UI           |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------
 When plugins_api() fails, you see "An unknown error occurred during the
 API request." if the response was invalid, and "An Unexpected HTTP Error
 occurred during the API request." if the HTTP request failed.

 That is not helpful. We should improve this string to let people know that
 it is likely a temporary issue with WordPress.org, and that if they are
 still seeing problems, they check the support forums.

 If the HTTP request fails, it probably is not an issue with WordPress.org,
 so we should just point them to the support forums.

 Same goes for themes_api(), I imagine.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20605>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list