Changeset 7489
- Timestamp:
- 07/24/2018 04:27:16 PM (6 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r7453 r7489 244 244 if ( bbp_is_single_forum() ) { 245 245 printf( '<a class="button create-topic" href="#new-topic-0">%s</a>', __( 'Create Topic', 'wporg-forums' ) ); 246 remove_filter( 'bbp_template_before_pagination_loop', array( $this, 'new_topic_link' ) ); 246 247 } 247 248 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php
r5946 r7489 26 26 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'Recent Posts', 'wporg-forums' ); ?></a></li> 27 27 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php _e( 'Recent Topics', 'wporg-forums' ); ?></a></li> 28 <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>29 <li class="create-topic"><a href="#new-post"><?php _e( 'Create Topic', 'wporg-forums' ); ?></a></li>30 <?php endif; ?>31 28 <?php if ( is_user_logged_in() && $forum_subscription_link = bbp_get_forum_subscription_link() ) : ?> 32 29 <li class="forum-subscribe"><?php echo $forum_subscription_link; ?></li>
Note: See TracChangeset
for help on using the changeset viewer.