Changeset 7318 for trunk/src/includes/forums/functions.php
- Timestamp:
- 06/27/2025 09:54:08 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/forums/functions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r7299 r7318 316 316 do_action( 'bbp_new_forum', array( 317 317 'forum_id' => $forum_id, 318 'post_parent' => $forum_ parent_id,319 'forum_author' => $forum_ author,318 'post_parent' => $forum_data['post_parent'], 319 'forum_author' => $forum_data['post_author'], 320 320 'last_topic_id' => 0, 321 321 'last_reply_id' => 0, … … 384 384 // Define local variable(s) 385 385 $anonymous_data = array(); 386 $forum = $forum_id = $forum_ parent_id = 0;386 $forum = $forum_id = $forum_author = $forum_parent_id = 0; 387 387 $forum_title = $forum_content = $forum_edit_reason = ''; 388 388 … … 422 422 remove_filter( 'bbp_edit_forum_pre_content', 'bbp_filter_kses', 30 ); 423 423 } 424 425 // Get forum author 426 $forum_author = bbp_get_forum_author_id( $forum_id ); 424 427 425 428 /** Forum Parent ***********************************************************/ … … 519 522 'post_content' => $forum_content, 520 523 'post_status' => $forum_status, 521 'post_parent' => $forum_parent_id 524 'post_parent' => $forum_parent_id, 525 'post_author' => $forum_author 522 526 ) ); 523 527 … … 532 536 do_action( 'bbp_edit_forum', array( 533 537 'forum_id' => $forum_id, 534 'post_parent' => $forum_ parent_id,535 'forum_author' => $forum ->post_author,538 'post_parent' => $forum_data['post_parent'], 539 'forum_author' => $forum_data['post_author'], 536 540 'last_topic_id' => 0, 537 541 'last_reply_id' => 0,
Note: See TracChangeset
for help on using the changeset viewer.