[wp-trac] [WordPress Trac] #40354: Improper use of jQuery hasClass method

WordPress Trac noreply at wordpress.org
Tue Apr 4 20:07:42 UTC 2017

#40354: Improper use of jQuery hasClass method
 Reporter:  kostasx                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.8
Component:  Media                       |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  javascript
Changes (by adamsilverstein):

 * keywords:   => needs-patch good-first-bug


 @kostasx thanks for the report.

 I was able to verify the selector doesn't work the way it is written. Did
 you discover this bug because of some unexpected behavior? The fix looks
 straightforward here, I want to make sure we are actually fixing and not
 breaking anything so it is helpful to be able to reproduce.

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

More information about the wp-trac mailing list