WordPress.org

Make WordPress Core

Changeset 10645


Ignore:
Timestamp:
02/25/09 08:02:07 (7 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r10324 r10645  
    366366?> 
    367367 
    368 <?php if (count($profileuser->caps) > count($profileuser->roles)): ?> 
     368<?php if (count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true)): ?> 
    369369<br class="clear" /> 
    370370    <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> 
Note: See TracChangeset for help on using the changeset viewer.