Changeset 7142
- Timestamp:
- 11/03/2020 09:44:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r7122 r7142 415 415 416 416 // Get pre_trashed_replies for topic 417 $pre_trashed_replies = (array) get_post_meta( $topic_id, '_bbp_pre_trashed_replies', true ); 417 $pre_trashed_meta = get_post_meta( $topic_id, '_bbp_pre_trashed_replies', true ); 418 419 // Format the meta value 420 $pre_trashed_replies = is_array( $pre_trashed_meta ) 421 ? array_filter( $pre_trashed_meta ) 422 : array(); 418 423 419 424 // Add this reply to the end of the existing replies … … 434 439 435 440 // Get pre_spammed_replies for topic 436 $pre_spammed_replies = (array) get_post_meta( $topic_id, '_bbp_pre_spammed_replies', true ); 441 $pre_trashed_meta = get_post_meta( $topic_id, '_bbp_pre_spammed_replies', true ); 442 443 // Format the meta value 444 $pre_spammed_replies = is_array( $pre_trashed_meta ) 445 ? array_filter( $pre_trashed_meta ) 446 : array(); 437 447 438 448 // Add this reply to the end of the existing replies
Note: See TracChangeset
for help on using the changeset viewer.