Skip to:
Content

bbPress.org

Changeset 5221


Ignore:
Timestamp:
12/10/2013 11:31:25 PM (11 years ago)
Author:
johnjamesjacoby
Message:

In bbp_update_reply(), send the reply post_date - rather than current_time() - into the update walker. Fixes possibility of inconsistent times between reply post_date and forum/topic last active times. Props netweb. See #1925.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/replies/functions.php

    r5177 r5221  
    867867
    868868        // Last active time
    869         $last_active_time = current_time( 'mysql' );
     869        $last_active_time = get_post_field( 'post_date', $reply_id );
    870870
    871871        // Walk up ancestors and do the dirty work
Note: See TracChangeset for help on using the changeset viewer.