Changeset 2860 for trunk/bb-includes/functions.bb-posts.php
- Timestamp:
- 02/10/2011 08:33:59 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/functions.bb-posts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-posts.php
r2821 r2860 402 402 $post_id = $topic_last_post_id = (int) $bbdb->insert_id; 403 403 404 // if user not logged in, save user data as meta data405 if ( !$user ) {406 bb_update_meta($post_id, 'post_author', $post_author, 'post');407 bb_update_meta($post_id, 'post_email', $post_email, 'post');408 bb_update_meta($post_id, 'post_url', $post_url, 'post');409 }410 411 404 if ( 0 == $post_status ) { 412 405 $topic_time = $post_time; … … 432 425 } 433 426 bb_update_topic_voices( $topic_id ); 427 428 // if user not logged in, save user data as meta data 429 if ( !$user ) { 430 bb_update_meta($post_id, 'post_author', $post_author, 'post'); 431 bb_update_meta($post_id, 'post_email', $post_email, 'post'); 432 bb_update_meta($post_id, 'post_url', $post_url, 'post'); 433 } 434 434 435 435 if ( $throttle && !bb_current_user_can( 'throttle' ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)