Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/06/2008 07:06:52 AM (18 years ago)
Author:
mdawaffe
Message:

edit_users cap can edit user's email. Fixes #917 for branches/0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9/bb-includes/template-functions.php

    r1579 r1622  
    15191519        $bb_current_id = bb_get_current_user_info( 'id' );
    15201520        foreach ( $profile_info_keys as $key => $label ) :
    1521             if ( 'user_email' == $key && $bb_current_id != $user->ID )
    1522                 continue;
    1523 
    15241521            if ( $label[0] ) {
    15251522                $class = 'form-field form-required required';
Note: See TracChangeset for help on using the changeset viewer.