[wp-trac] [WordPress Trac] #34362: Improvements to comment_type function
WordPress Trac
noreply at wordpress.org
Mon Mar 7 17:48:13 UTC 2016
#34362: Improvements to comment_type function
-------------------------------------------+-----------------------------
Reporter: dshanske | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback | Focuses:
-------------------------------------------+-----------------------------
Changes (by rachelbaker):
* keywords: needs-patch => needs-patch reporter-feedback
Comment:
@dshanske `get_comment_type()` already allows you to just get the
comment_type (without echoing it), can you provide some details around why
this other function wouldn't fit your use-case?
I agree that the `comment_type` is very inflexible, and I like the idea of
adding a filter here, but I don't like the idea of adding a fourth
parameter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34362#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list