Changeset 6529 for trunk/src/includes/forums/functions.php
- Timestamp:
- 06/12/2017 05:41:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r6499 r6529 1990 1990 1991 1991 // Only update topic count if we're deleting a topic, or in the dashboard. 1992 if ( in_array( current_filter(), array( 'bbp_delete d_topic', 'save_post' ), true ) ) {1992 if ( in_array( current_filter(), array( 'bbp_delete_topic', 'save_post' ), true ) ) { 1993 1993 bbp_update_forum_reply_count( $r['forum_id'] ); 1994 1994 bbp_update_forum_topic_count( $r['forum_id'] ); … … 2771 2771 * Called after deleting a forum 2772 2772 * 2773 * Try not to use this action. All meta & taxonomy terms have already been 2774 * deleted, making them impossible to use. 2775 * 2773 2776 * @since 2.1.0 bbPress (r3668) 2777 * @since 2.6.0 bbPress (r6526) Not recommend for usage 2774 2778 * 2775 2779 * @uses bbp_get_forum_id() To get the forum id
Note: See TracChangeset
for help on using the changeset viewer.