[wp-trac] [WordPress Trac] #38810: Add level class to terms list-table rows

WordPress Trac noreply at wordpress.org
Wed Nov 16 02:42:56 UTC 2016


#38810: Add level class to terms list-table rows
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  feature request        |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Taxonomy               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  administration
-----------------------------------+------------------------------

Comment (by johnjamesjacoby):

 For added context, I have this plugin: https://wordpress.org/plugins/wp-
 term-order/

 As is, I cannot target terms within the same branch in the hierarchy,
 which results in the next/prev/current positions only being based on a
 flat term relationship. This means when terms are reordered, it reorders
 the entire view, not just siblings.

 The attached patch would allow me to target `.level-2`, and I could query,
 rearrange, and redraw only the correct terms.

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


More information about the wp-trac mailing list