Changeset 2306
- Timestamp:
- 01/15/2010 12:26:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums.php
r2288 r2306 220 220 return false; 221 221 222 do_action( 'bp_forums_new_topic', $topic_id ); 223 222 224 return $topic_id; 223 225 } … … 404 406 $post_position = $post->post_position; 405 407 406 return bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( $post_text ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) ); 408 $post = bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( $post_text ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) ); 409 410 if ( $post ) 411 do_action( 'bp_forums_new_post', $post_id ); 412 413 return $post; 407 414 } 408 415
Note: See TracChangeset
for help on using the changeset viewer.