Making WordPress.org


Ignore:
Timestamp:
02/21/2017 11:26:35 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Display Topic Admin sidebar section if the current user can stick a topic to a plugin or theme forum.

Fixes #2519.

File:
1 edited

Legend:

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

    r4956 r4969  
    7474                        </div-->
    7575
    76                         <?php if ( current_user_can( 'moderate', bbp_get_topic_id() ) ) : ?>
     76                        <?php if ( current_user_can( 'moderate', bbp_get_topic_id() ) || wporg_support_current_user_can_stick( bbp_get_topic_id() ) ) : ?>
    7777
    7878                                <div>
Note: See TracChangeset for help on using the changeset viewer.