mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
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:
parent
4eb0ba92e3
commit
eb5a33864e
@ -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