[wp-trac] [WordPress Trac] #32309: .check-column select all should not toggle disabled inputs

WordPress Trac noreply at wordpress.org
Fri May 8 11:17:35 UTC 2015


#32309: .check-column select all should not toggle disabled inputs
--------------------------------------------+-----------------------------
 Reporter:  ragulka                         |      Owner:
     Type:  defect (bug)                    |     Status:  new
 Priority:  normal                          |  Milestone:  Awaiting Review
Component:  General                         |    Version:  4.2.2
 Severity:  normal                          |   Keywords:
  Focuses:  ui, javascript, administration  |
--------------------------------------------+-----------------------------
 In common.js, starting on line 401
 (https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-
 admin/js/common.js#L401) there is a common select/deselect all behaviour
 handler.

 Currently, it only filters the checkboxes by looking if they are
 `:visible`, but it should also check for `:disabled` as it makes no sense
 to select/deselect via select/deselect all if the checkbox itself is
 disabled.

 Disabling the checkbox is a valid use case for plugins that may want to
 show a table row, but disable editing/deleting it.

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


More information about the wp-trac mailing list