Skip to:
Content

bbPress.org

Changeset 4339


Ignore:
Timestamp:
11/05/2012 01:54:28 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • PHP5'ize list table BBP_Users_Admin methods.
  • See #2012.
File:
1 edited

Legend:

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

    r4338 r4339  
    6363     * @return bool Always false
    6464     */
    65     public function secondary_role_display( $profileuser ) {
     65    public static function secondary_role_display( $profileuser ) {
    6666
    6767        // Bail if current user cannot edit users
     
    116116     * @return array $columns
    117117     */
    118     function user_role_column( $columns = array() ) {
     118    public static function user_role_column( $columns = array() ) {
    119119        $columns['role']          = __( 'Site Role',  'bbpress' );
    120120        $columns['bbp_user_role'] = __( 'Forum Role', 'bbpress' );
     
    134134     * @return string Displayable bbPress user role
    135135     */
    136     function user_role_row( $retval = '', $column_name = '', $user_id = 0 ) {
     136    public static function user_role_row( $retval = '', $column_name = '', $user_id = 0 ) {
    137137
    138138        // Only looking for bbPress's user role column
Note: See TracChangeset for help on using the changeset viewer.