Changeset 5729 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php
- Timestamp:
- 08/02/2017 03:24:38 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php
r5728 r5729 151 151 } 152 152 $user_id = get_current_user_id(); 153 if ( Plugin::REVIEWS_FORUM_ID != bbp_get_topic_forum_id() 154 && 155 $this->user_can_stick( $user_id, $this->term->term_id, $topic_id ) 156 ) { 153 if ( isset( $r['stick'] ) && $this->user_can_stick( $user_id, $this->term->term_id, $topic_id ) ) { 157 154 $r['stick'] = self::get_stick_link( array( 'topic_id' => $topic_id, 'term_id' => $this->term->term_id ) ); 158 155 } else {
Note: See TracChangeset
for help on using the changeset viewer.