[wp-trac] [WordPress Trac] #14510: comment_notes_before does not work.
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 3 11:30:07 UTC 2010
#14510: comment_notes_before does not work.
-------------------------+--------------------------------------------------
Reporter: hotforwords | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Comments | Version: 3.0.1
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+--------------------------------------------------
Comment(by demetris):
Replying to [comment:12 westi]:
> Replying to [comment:11 nacin]:
> > Punt?
>
> I think so - I'm not sure how to do this easily while keeping back
compat on the current functionality.
>
> We probably need a new arg rather than moving the current one.
Maybe give a value to the arg only if the user is not logged in?
Attaching a tentative patch. I don’t like the ternary nesting very much,
but that’s the only way I can think of that does not require an extra arg.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14510#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list