Skip to:
Content

bbPress.org

Changeset 5222


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

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

File:
1 edited

Legend:

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

    r5156 r5222  
    888888
    889889        // Last active time
    890         $last_active = current_time( 'mysql' );
     890        $last_active = get_post_field( 'post_date', $topic_id );
    891891
    892892        // Reply topic meta
Note: See TracChangeset for help on using the changeset viewer.