Skip to:
Content

bbPress.org

Changeset 4298


Ignore:
Timestamp:
11/02/2012 06:03:27 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Use correct $roles variable in bbp_get_user_role().
  • See #1939.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/users/functions.php

    r4297 r4298  
    14321432        // If there's a role in the array, use the first one
    14331433        if ( !empty( $roles ) ) {
    1434             $role = array_shift( array_values( $role ) );
     1434            $role = array_shift( array_values( $roles ) );
    14351435        }
    14361436    }
Note: See TracChangeset for help on using the changeset viewer.