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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-02-25 08:02:07 +00:00
parent 4eb0ba92e3
commit eb5a33864e

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>