[wp-trac] [WordPress Trac] #27738: Customizer: Make header image strings ready for translation
WordPress Trac
noreply at wordpress.org
Sat Apr 12 11:42:32 UTC 2014
#27738: Customizer: Make header image strings ready for translation
--------------------------+-----------------------
Reporter: ocean90 | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.9
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by ocean90):
Replying to [comment:8 nacin]:
> Larger issue: I can't get that error to display. The JSONP request just
hangs forever when my internet is disconnected. Perhaps we need to add a
timeout of say 30000ms or something?
That's JSONP, there is no real error handling. We can set the `timeout`
setting, but there are some issues with Firefox.
> In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a
timeout; the script will run even if it arrives after the timeout period.
https://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings
([http://bugs.jquery.com/ticket/8744 Bug ticket])
But at least you will get the error message with the `timeout` setting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27738#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list