Changeset 5730
- Timestamp:
- 08/02/2017 03:30:46 AM (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
r5729 r5730 507 507 } else { 508 508 bbp_unstick_topic( $post->ID ); 509 510 if ( Support_Compat::is_compat_forum( $post->post_parent ) ) { 511 $term = null; 512 $plugin_instance = Plugin::get_instance(); 513 514 if ( ! empty( $plugin_instance->plugins->term ) ) { 515 $term = $plugin_instance->plugins->term; 516 } elseif ( ! empty( $plugin_instance->themes->term ) ) { 517 $term = $plugin_instance->themes->term; 509 518 } 519 520 Stickies_Compat::remove_sticky( $term->term_id, $post->ID ); 521 } 522 } 510 523 511 524 return true;
Note: See TracChangeset
for help on using the changeset viewer.