Changeset 4161 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php
- Timestamp:
- 09/28/2016 07:42:46 PM (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
r4159 r4161 133 133 } 134 134 $user_id = get_current_user_id(); 135 if ( $this->user_can_stick( $user_id, $this->term->term_id, $topic_id ) ) { 135 if ( ! ( function_exists( 'wporg_support_is_single_review' ) && wporg_support_is_single_review() ) 136 && 137 $this->user_can_stick( $user_id, $this->term->term_id, $topic_id ) 138 ) { 136 139 $r['stick'] = self::get_stick_link( array( 'topic_id' => $topic_id, 'term_id' => $this->term->term_id ) ); 137 140 } else {
Note: See TracChangeset
for help on using the changeset viewer.