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:
parent
62accc75a9
commit
89e28f00d7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user