Ticket #1623: 1623.patch
File 1623.patch, 1.4 KB (added by , 13 years ago) |
---|
-
bb-plugins/akismet.php
248 248 'comment_author_email' => bb_get_user_email( $user->ID ), 249 249 'comment_author_url' => get_user_link( $user->ID ), 250 250 'comment_content' => $bb_post->post_text, 251 'comment_date_gmt' => $bb_post->post_time 251 'comment_date_gmt' => $bb_post->post_time, 252 'user_role' => implode( ',', $bb_current_user->roles ) 252 253 ); 253 254 break; 254 255 … … 272 273 'comment_author_email' => bb_get_user_email( $user->ID ), 273 274 'comment_author_url' => get_user_link( $user->ID ), 274 275 'comment_content' => $user->occ . ' ' . $user->interests, 275 'comment_date_gmt' => $user->user_registered 276 'comment_date_gmt' => $user->user_registered, 277 'user_role' => implode( ',', $bb_current_user->roles ) 276 278 ); 277 279 break; 278 280 … … 292 294 'comment_author' => bb_get_current_user_info( 'name' ), 293 295 'comment_author_email' => bb_get_current_user_info( 'email' ), 294 296 'comment_author_url' => bb_get_current_user_info( 'url' ), 295 'comment_content' => $submit 297 'comment_content' => $submit, 298 'user_role' => implode( ',', $bb_current_user->roles ) 296 299 ); 297 300 if ( isset( $_POST['topic_id'] ) ) { 298 301 $_submit['permalink'] = get_topic_link( $_POST['topic_id'] ); // First page