[wp-trac] [WordPress Trac] #41894: Clear dirty flag on widgets admin screen when widget is deleted to prevent irrelevant “Are you sure?” prompt

WordPress Trac noreply at wordpress.org
Sat Sep 16 02:47:53 UTC 2017


#41894: Clear dirty flag on widgets admin screen when widget is deleted to prevent
irrelevant “Are you sure?” prompt
--------------------------+----------------------------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.9
Component:  Widgets       |    Version:
 Severity:  normal        |   Keywords:  needs-patch good-first-bug
  Focuses:  javascript    |
--------------------------+----------------------------------------
 With [41352] for #41352 there is now an “Are you sure?” dialog that
 appears if you try leaving the widgets admin screen without first having
 saved a widget that you were modifying. This logic is not currently taking
 into account the scenario where by you delete a widget that you started
 making changes to. When a widget is deleted, any corresponding dirty flag
 also needs to be removed.

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


More information about the wp-trac mailing list