[wp-trac] [WordPress Trac] #42239: Delete Selected button stays active even all selected images in media library are deselected

WordPress Trac noreply at wordpress.org
Tue Oct 17 15:37:05 UTC 2017


#42239: Delete Selected button stays active even all selected images in media
library are deselected
------------------------------+-----------------------------------------
 Reporter:  subrataemfluence  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  javascript, administration
------------------------------+-----------------------------------------

Comment (by adamsilverstein):

 Nice work! I tested your patch and verified it resolves the issue, however
 it feels like a brute force approach and  I want to dig a bit further to
 see if I can determine why/when this broke. Also, before your patch, how
 is the button enabled when you select your first item? Shouldn't that code
 logic also handle disabling the button?

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


More information about the wp-trac mailing list