Changeset 12410 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-emails.php
- Timestamp:
- 02/21/2023 05:48:06 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-emails.php
r12273 r12410 169 169 $topic_author = bbp_get_topic_author_id( $topic_id ); 170 170 171 // Setup the forum compat classes, as used by email filters for subject changes. 172 $forums = Plugin::get_instance(); 173 if ( $forums->plugins ) { 174 $forums->plugins->init_for_topic( $topic_id ); 175 $forums->themes->init_for_topic( $topic_id ); 176 } 177 171 178 // For performance reasons, we've removed the bbPress bbp_update_topic() method, and replaced it with our slightly altered variant. 172 179 $bbp_update_topic = [ Plugin::get_instance()->dropin, 'bbp_update_topic' ]; … … 203 210 } 204 211 212 // Setup the forum compat classes, as used by email filters for subject changes. 213 $forums = Plugin::get_instance(); 214 if ( $forums->plugins ) { 215 $forums->plugins->init_for_topic( $topic_id ); 216 $forums->themes->init_for_topic( $topic_id ); 217 } 218 205 219 // For performance reasons, we've removed the bbPress bbp_update_reply() method, and replaced it with our slightly altered variant. 206 220 $bbp_update_reply = [ Plugin::get_instance()->dropin, 'bbp_update_reply' ];
Note: See TracChangeset
for help on using the changeset viewer.