Skip to:
Content

BuddyPress.org

Changeset 3455 for trunk/bp-forums.php


Ignore:
Timestamp:
11/20/2010 10:46:27 AM (15 years ago)
Author:
djpaul
Message:

Use bp_core_current_time() for all timestamps. Fixes #2750.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r3450 r3455  
    230230        'topic_last_poster' => $bp->loggedin_user->id, // accepts ids
    231231        'topic_last_poster_name' => $bp->loggedin_user->fullname, // accept names
    232         'topic_start_time' => date( 'Y-m-d H:i:s' ),
    233         'topic_time' => date( 'Y-m-d H:i:s' ),
     232        'topic_start_time' => bp_core_current_time(),
     233        'topic_time' => bp_core_current_time(),
    234234        'topic_open' => 1,
    235235        'topic_tags' => false, // accepts array or comma delim
     
    453453        'topic_id' => false,
    454454        'post_text' => '',
    455         'post_time' => date( 'Y-m-d H:i:s' ),
     455        'post_time' => bp_core_current_time(),
    456456        'poster_id' => $bp->loggedin_user->id, // accepts ids or names
    457457        'poster_ip' => $_SERVER['REMOTE_ADDR'],
Note: See TracChangeset for help on using the changeset viewer.