[wp-trac] [WordPress Trac] #16576: comment_form() fields being displayed only for non logged in users
WordPress Trac
noreply at wordpress.org
Fri Aug 21 16:59:20 UTC 2015
#16576: comment_form() fields being displayed only for non logged in users
-------------------------------------------------+-------------------------
Reporter: maorb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Comments | Review
Severity: normal | Version: 3.0.5
Keywords: dev-feedback has-patch needs- | Resolution:
testing | Focuses:
-------------------------------------------------+-------------------------
Comment (by CarlSteffen):
Hello - I see this topic hasn't received any comments in a while - this
particular issue is killing me - the proposed solution would fix my issue
but i certainly see how this change could cause unexpected (negative)
changes to sites that have build around this restriction/bug.
What if you simply added one line after the END IF, simply adding a whole
new action?
do_action( 'comment_form_after_fields_custom' ); //(or some other name
that makes more sense?)
I hate cluttering code up with event hooks like this, but I think this is
really the simplest way to guarantee existing sites won't break and allow
anyone that needs their custom fields to show no matter what, to go ahead
and do so now.
Thoughts?
Thanks,
Carl
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16576#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list