[wp-trac] [WordPress Trac] #44923: Filter .children class on nested comments list
WordPress Trac
noreply at wordpress.org
Sun Mar 3 21:35:38 UTC 2019
#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: needs-patch | Focuses:
-------------------------+------------------------------
Comment (by greenshady):
The filter hook might be more appropriately named
`comment_list_sublist_class` or something to that effect. Other ideas?
Also, `$class_names` needs to be wrapped in `esc_attr()` when adding to
the HTML.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44923#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list