WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16979, comment 2


Ignore:
Timestamp:
03/27/11 23:58:01 (3 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16979, comment 2

    initial v1  
    11>  Actually, I'm pretty sure I populated it with something static until I ran into the duplicate comment issue. 
    22 
    3 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! 
     3I'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! 
    44 
    55In 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