Skip to:
Content

BuddyPress.org

Changeset 2037


Ignore:
Timestamp:
10/05/2009 06:58:49 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-status.php

    r2034 r2037  
    110110 */
    111111
    112 function bp_status_add_status( $user_id, $content ) {
     112function bp_status_add_status( $user_id, $content, $recorded_time = false ) {
    113113    global $bp;
    114114   
    115115    $content = apply_filters( 'bp_status_content_before_save', $content );
    116     $recorded_time = time();
     116   
     117    if ( !$recorded_time ) 
     118        $recorded_time = time();
    117119   
    118120    if ( !$content || empty($content) )
Note: See TracChangeset for help on using the changeset viewer.