Changeset 7207 for trunk/src/includes/forums/functions.php
- Timestamp:
- 09/21/2021 01:08:32 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r7191 r7207 231 231 /** Forum Duplicate *******************************************************/ 232 232 233 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_forum_post_type(), 'post_author' => $forum_author, 'post_content' => $forum_content, 'anonymous_data' => $anonymous_data ) ) ) { 233 $dupe_args = array( 234 'post_type' => bbp_get_forum_post_type(), 235 'post_author' => $forum_author, 236 'post_content' => $forum_content, 237 'post_parent' => $forum_parent_id, 238 'anonymous_data' => $anonymous_data 239 ); 240 241 if ( ! bbp_check_for_duplicate( $dupe_args ) ) { 234 242 bbp_add_error( 'bbp_forum_duplicate', __( '<strong>Error</strong>: This forum already exists.', 'bbpress' ) ); 235 243 }
Note: See TracChangeset
for help on using the changeset viewer.