Changeset 7208 for branches/2.6/src/includes/topics/functions.php
- Timestamp:
- 09/21/2021 01:11:47 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/topics/functions.php
r7192 r7208 250 250 /** Topic Duplicate *******************************************************/ 251 251 252 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_topic_post_type(), 'post_author' => $topic_author, 'post_content' => $topic_content, 'anonymous_data' => $anonymous_data ) ) ) { 252 $dupe_args = array( 253 'post_type' => bbp_get_topic_post_type(), 254 'post_author' => $topic_author, 255 'post_content' => $topic_content, 256 'post_parent' => $forum_id, 257 'anonymous_data' => $anonymous_data 258 ); 259 260 if ( ! bbp_check_for_duplicate( $dupe_args ) ) { 253 261 bbp_add_error( 'bbp_topic_duplicate', __( '<strong>Error</strong>: Duplicate topic detected; it looks as though you’ve already said that.', 'bbpress' ) ); 254 262 }
Note: See TracChangeset
for help on using the changeset viewer.