Changeset 4843 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
- Timestamp:
- 01/31/2017 11:10:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
r4738 r4843 90 90 <?php elseif ( ! bbp_is_single_user() ) : ?> 91 91 92 <?php 93 $term_subscription = ''; 94 if ( is_tax( 'topic-tag' ) && function_exists( 'WordPressdotorg\Forums\Term_Subscription\get_subscription_link' ) ) { 95 $term_subscription = WordPressdotorg\Forums\Term_Subscription\get_subscription_link( get_queried_object()->term_id ); 96 } 97 if ( $term_subscription ) { 98 echo '<div>' . $term_subscription . "</div>\n"; 99 } 100 ?> 92 101 <div> 93 102 <h4><?php _e( 'Views', 'wporg-forums' ); ?></h4>
Note: See TracChangeset
for help on using the changeset viewer.