Skip to:
Content

Changeset 6208


Ignore:
Timestamp:
01/06/17 05:57:47 (6 weeks ago)
Author:
xknown
Message:

branch 1.1: Avoid infinite recursion loop when creating a new WP_User instance.

See #3303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-includes/functions.bb-deprecated.php

    r6205 r6208  
    892892class WP_User extends BP_User { 
    893893    function __construct( $id, $name = '' ) { 
    894         return parent::BP_User( $id, $name ); 
     894        return parent::__construct( $id, $name ); 
    895895    } 
    896896    function WP_User( $id, $name = '' ) { 
    897         $this->__construct( $id, $name ); 
     897        self::__construct( $id, $name ); 
    898898    } 
    899899} 
Note: See TracChangeset for help on using the changeset viewer.