Allow a plugin to hide the extra capabilities listing on profiles. Fixes #9024 props jamescollins.

git-svn-id: https://develop.svn.wordpress.org/trunk@10645 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-02-25 08:02:07 +00:00
parent 62accc75a9
commit 89e28f00d7
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ if ( $show_password_fields ) :
}
?>
<?php if (count($profileuser->caps) > count($profileuser->roles)): ?>
<?php if (count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true)): ?>
<br class="clear" />
<table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform">
<tr>