[wp-trac] [WordPress Trac] #62606: Dismiss Button in Media Upload Error Message Not Working

WordPress Trac noreply at wordpress.org
Fri Nov 29 20:20:37 UTC 2024


#62606: Dismiss Button in Media Upload Error Message Not Working
-------------------------------------------------+-------------------------
 Reporter:  sukhendu2002                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.8
Component:  Media                                |     Version:  6.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch has-       |     Focuses:  javascript
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * version:  6.7.1 => 6.4
 * milestone:  Awaiting Review => 6.8


Comment:

 As far as I see the PR will fix this. However there is already a way to
 make admin notices dismissable, see
 [https://core.trac.wordpress.org/browser/tags/6.7.1/src/js/_enqueues/admin/common.js#L1086
 `makeNoticesDismissible()`] in `common.js`. Could that be used instead?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62606#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list