Making WordPress.org


Ignore:
Timestamp:
07/24/2018 04:27:16 PM (6 years ago)
Author:
obenland
Message:

Support: Remove duplicate links to create topics

Props Clorith.
See [7450].
Fixes #3722.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php

    r5946 r7489  
    2626                    <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'Recent Posts', 'wporg-forums' ); ?></a></li>
    2727                    <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; ?>
    3128                    <?php if ( is_user_logged_in() && $forum_subscription_link = bbp_get_forum_subscription_link() ) : ?>
    3229                        <li class="forum-subscribe"><?php echo $forum_subscription_link; ?></li>
Note: See TracChangeset for help on using the changeset viewer.