Skip to:
Content

bbPress.org

Changeset 7155


Ignore:
Timestamp:
11/05/2020 10:18:27 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Akismet: prefer the GMT datetime.

This commit swaps out comment_date for comment_date_gmt for improved accuracy.

In branches/2.6, for 2.6.6. See #3400.

Props cfinke.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/extend/akismet.php

    r7128 r7155  
    309309            'comment_author_url'   => $_post->post_author ? bbp_get_user_profile_url(            $_post->post_author ) : get_post_meta( $post_id, '_bbp_anonymous_website', true ),
    310310            'comment_content'      => $_post_content,
    311             'comment_date'         => $_post->post_date,
     311            'comment_date_gmt'     => $_post->post_date_gmt,
    312312            'comment_ID'           => $post_id,
    313313            'comment_post_ID'      => $_post->post_parent,
Note: See TracChangeset for help on using the changeset viewer.