[wp-trac] [WordPress Trac] #44923: Filter .children class on nested comments list

WordPress Trac noreply at wordpress.org
Sun Sep 9 22:40:02 UTC 2018


#44923: Filter .children class on nested comments list
-------------------------+------------------------------
 Reporter:  greenshady   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by joyously):

 I'm all for parity, but when I tried to make my menu work with CSS only, I
 had to insert elements at the parent level of the submenu, not at the
 child level. So while this filter would be good for comments, it would
 have the same problem of not being able to inject something at the parent
 level, which is how you have to work with CSS.

 In my case, I had to supply an entire nav walker class just to output a
 small piece of HTML to be able to trigger the submenus. Comments are a bit
 less dynamic, but same nested lists.

 What I'm saying is: is a filter enough?

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


More information about the wp-trac mailing list