Ticket #2055: meta-2055.patch
File meta-2055.patch, 957 bytes (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php
193 193 return ( WordPressdotorg\Forums\Plugin::REVIEWS_FORUM_ID == bbp_get_topic_forum_id() ); 194 194 } 195 195 196 /** 197 * Remove 'Stick' option for reviews. 198 */ 199 function wporg_support_remove_stick_option_for_reviews( $topic_admin_links ) { 200 if ( wporg_support_is_single_review() ) { 201 unset( $topic_admin_links['stick'] ); 202 } 203 204 return $topic_admin_links; 205 } 206 add_filter( 'bbp_topic_admin_links', 'wporg_support_remove_stick_option_for_reviews' ); 207 196 208 /** bb Base *******************************************************************/ 197 209 198 210 function bb_base_search_form() {