[wp-trac] [WordPress Trac] #51425: Customizer Restore Autosave Notice dismiss function is not called

WordPress Trac noreply at wordpress.org
Wed Sep 30 21:48:26 UTC 2020


#51425: Customizer Restore Autosave Notice dismiss function is not called
----------------------------+-----------------------------
 Reporter:  karthikbhatb    |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  ui, javascript  |
----------------------------+-----------------------------
 After 5.5.1 upgrade `dismissAutosave` function is not being called on
 notice dismissal for recent Autosave Notice (Under `customize-
 control.js`).
 An extra `.notice-dismiss` button is added under `common.js`

 Fix: Check if the `.notice-dismiss` already exists under the notice
 element.

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


More information about the wp-trac mailing list