[wp-trac] [WordPress Trac] #41535: Prevent or warn about offline status before submitting a form

WordPress Trac noreply at wordpress.org
Wed Aug 2 15:09:28 UTC 2017


#41535: Prevent or warn about offline status before submitting a form
-----------------------------+-------------------------------------
 Reporter:  johnbillion      |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Administration   |    Version:
 Severity:  normal           |   Keywords:  needs-patch ux-feedback
  Focuses:  administration   |
-----------------------------+-------------------------------------
 For browsers that support it, the `navigator.offline` property reliably
 indicates that the browser is offline (the inverse isn't true, but it
 doesn't matter).

 Prior to submission of a form in the admin area (for example the post
 editing screen form), WordPress should check the value of
 `navigator.offline` and present a prompt to the user stating that they
 appear to be offline. They can close the prompt or, optionally, ignore it
 and continue with the form submission.

 This functionality would help prevent data loss when a user submits a form
 while they don't have an internet connection.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41535>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list