Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/14/2011 05:19:12 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Find/replace on is_super_admin() to use bp_current_user_can( 'bp_moderate' ). See #3740.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/forums/single/topic.php

    r5184 r5329  
    5454                            <h3><?php bp_the_topic_title() ?> (<?php bp_the_topic_total_post_count() ?>)</h3>
    5555
    56                             <?php if ( is_super_admin() || current_user_can( 'moderate' ) ) : ?>
     56                            <?php if ( bp_current_user_can( 'bp_moderate' ) || current_user_can( 'moderate' ) ) : ?>
    5757
    5858                                <div class="last admin-links">
     
    109109                                    <div class="admin-links">
    110110
    111                                         <?php if ( is_super_admin() || current_user_can( 'moderate' ) ) : ?>
     111                                        <?php if ( bp_current_user_can( 'bp_moderate' ) || current_user_can( 'moderate' ) ) : ?>
    112112
    113113                                            <?php bp_the_topic_post_admin_links() ?>
Note: See TracChangeset for help on using the changeset viewer.