[wp-trac] [WordPress Trac] #14279: wp_new_comment ignores comment_date_gmt and comment_date
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 12 14:07:06 UTC 2010
#14279: wp_new_comment ignores comment_date_gmt and comment_date
--------------------------+-------------------------------------------------
Reporter: johneckman | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
wp_new_comment takes in a $comment array, but then ignores the
comment_date and comment_date_gmt passed into it, instead replacing them
with the current time.
It should only set them if the data passed in is empty or not a date/time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14279>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list