[wp-trac] [WordPress Trac] #44923: Filter .children class on nested comments list
WordPress Trac
noreply at wordpress.org
Sun Sep 9 20:52:44 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 | Keywords:
Focuses: |
-------------------------+-----------------------------
The `start_lvl()` method of `Walker_Comment` should have a filter hook to
customize the `.children` class. This will allow theme authors to utilize
their preferred system or CSS framework for handling nested comment lists.
And, `.children` is generic and requires writing nested CSS selectors to
target it.
This change would put the comment walker on par with the nav menu walker,
where we have the `nav_menu_submenu_css_class` filter hook.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44923>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list