[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:24:39 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):

 The issue appears to be originating in /wp-admin/js/inline-edit-post.js,
 where this selector is used throughout that file:

 {{{
 $('table.widefat')
 }}}

 Since these aren't scoped to just the quick edit section a <table> with
 the class "widefat" inside the Help tabs (or really anywhere else on the
 page) is getting targeted also.

 There is even a selector that is just ".widefat" on line 291, which could
 potentially cause other side effects when the class is used on inputs and
 other elements anywhere on the page.

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


More information about the wp-trac mailing list