Changeset 5710 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
- Timestamp:
- 07/20/2017 08:56:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
r5688 r5710 497 497 bbp_update_topic_voice_count( $topic_id ); 498 498 499 bbp_decrease_topic_reply_count( $topic_id ); 500 bbp_increase_topic_reply_count_hidden( $topic_id ); 499 if ( 'publish' === $post->post_status ) { 500 bbp_decrease_topic_reply_count( $topic_id ); 501 bbp_increase_topic_reply_count_hidden( $topic_id ); 502 } 501 503 } else { 502 504 bbp_unstick_topic( $post->ID ); … … 541 543 bbp_update_topic_voice_count( $topic_id ); 542 544 543 bbp_increase_topic_reply_count( $topic_id ); 544 bbp_decrease_topic_reply_count_hidden( $topic_id ); 545 if ( 'publish' === $post_status ) { 546 bbp_increase_topic_reply_count( $topic_id ); 547 bbp_decrease_topic_reply_count_hidden( $topic_id ); 548 } 545 549 } 546 550
Note: See TracChangeset
for help on using the changeset viewer.