Ticket #1174: patch.diff
File patch.diff, 580 bytes (added by , 15 years ago) |
---|
-
bp-status.php
109 109 * true or false on success or failure. 110 110 */ 111 111 112 function bp_status_add_status( $user_id, $content ) {112 function bp_status_add_status( $user_id, $content, $recorded_time=false ) { 113 113 global $bp; 114 114 115 115 $content = apply_filters( 'bp_status_content_before_save', $content ); 116 $recorded_time = time(); 117 116 if ( !$recorded_time ) 117 $recorded_time = time(); 118 118 119 if ( !$content || empty($content) ) 119 120 return false; 120 121