[wp-trac] [WordPress Trac] #35833: Including a table with the "widefat" class in Help tabs causes the quick edit UI to fail

WordPress Trac noreply at wordpress.org
Mon Feb 15 06:54:28 UTC 2016


#35833: Including a table with the "widefat" class in Help tabs causes the quick
edit UI to fail
-----------------------------+------------------------------
 Reporter:  Braad            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |     Version:  4.4.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by Braad):

 Just created my first patch that attempts to fix this issue. I'm not sure
 what the official method is for minifying core JS so I haven't submitted a
 minified version of the file yet, but trying the updated code in that file
 works for me.

 The changes I made include switching all instances of the generic `$(
 'table.widefat' )` and `$( '.widefat' )` to `$( 'table.wp-list-
 table.widefat' )`. I'm hoping this is safe to do, but it's possible that
 the "widefat" class is no longer needed in the selector at all and we can
 just do `$( 'table.wp-list-table' )`.

 I don't expect my patch will be the final one but I wanted to get the ball
 rolling. If anyone can point me in the right direction to minify the file
 I can submit another patch that includes that, or if there are other
 issues with my patch I'm happy to make any necessary changes to take this
 over the finish line.

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


More information about the wp-trac mailing list