Skip to:
Content

bbPress.org

Changeset 1587


Ignore:
Timestamp:
07/11/2008 04:32:21 PM (17 years ago)
Author:
sambauers
Message:

Only show assignable caps in profile edit form if they exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/template-functions.php

    r1586 r1587  
    17651765    </td>
    17661766</tr>
     1767<?php
     1768    if (count($assignable_caps)) :
     1769?>
    17671770<tr class="extra-caps-row">
    17681771    <th scope="row"><?php _e('Allow this user to'); ?></th>
     
    17831786
    17841787<?php
     1788    endif;
     1789   
    17851790    if ( is_array($profile_admin_keys) ) :
    17861791        foreach ( $profile_admin_keys as $key => $label ) :
Note: See TracChangeset for help on using the changeset viewer.