Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/06/2017 06:01:09 AM (7 years ago)
Author:
xknown
Message:

branch 1.2: Fix infinite loop when create a new WP_User instance.

See #3033

File:
1 edited

Legend:

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

    r6207 r6209  
    892892class WP_User extends BP_User {
    893893    function __construct( $id, $name = '' ) {
    894         return parent::BP_User( $id, $name );
     894        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.