Making WordPress.org


Ignore:
Timestamp:
09/21/2017 07:25:49 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Clear user's topics and reviews count cache on spamming/unspamming, approving/unapproving, and archiving/unarchiving a topic.

See #2967.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php

    r5734 r5950  
    513513                        bbp_increase_topic_reply_count_hidden( $topic_id );
    514514                    }
     515
     516                    do_action( 'wporg_bbp_archived_reply', $post->ID );
    515517                } else {
    516518                    bbp_unstick_topic( $post->ID );
     
    530532                        }
    531533                    }
     534
     535                    do_action( 'wporg_bbp_archived_topic', $post->ID );
    532536                }
    533537
     
    574578                        bbp_decrease_topic_reply_count_hidden( $topic_id );
    575579                    }
     580
     581                    do_action( 'wporg_bbp_unarchived_reply', $post->ID );
     582                } else {
     583                    do_action( 'wporg_bbp_unarchived_topic', $post->ID );
    576584                }
    577585
Note: See TracChangeset for help on using the changeset viewer.