[wp-trac] [WordPress Trac] #16979: Extra hooks needed in comment process

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 27 23:57:29 UTC 2011


#16979: Extra hooks needed in comment process
-------------------------+-----------------------------
 Reporter:  dd32         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+-----------------------------

Comment (by dd32):

 >  Actually, I'm pretty sure I populated it with something static until I
 ran into the duplicate comment issue.

 I'm appending a comment with a hash in it, that works around the issue, I
 was planning on striping it out before it went to the database, but there
 were no filters between the duplicate check and the DB insert either!

 In this case, I'd probably do them as 3 functions, one for duplicate
 comment, one for blank comment, and one for the userloggedin & required
 fields not set

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16979#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list