Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/13/2014 12:58:28 AM (11 years ago)
Author:
imath
Message:

Introduce Sign Ups Management

In Users Administration Screen, a new view is now available to manage the pending accounts of a site or of the network of sites. The following actions are supported:

  • Resend the activation email
  • Delete the pending account
  • Activate the pending account

The corresponding bulk actions are also supported. A search box is available in order to let the administrator easily find some specific pending accounts.

The registration process have also been modified so that multisite and regular configs handles it in a similar way. A mechnanism is in place to ensure plugin backward compatibility concerning the regular configs.

See #5374

props boonebgorges, imath

Fixes #4651

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/factory.php

    r7873 r8119  
    1111        $this->xprofile_field = new BP_UnitTest_Factory_For_XProfileField( $this );
    1212        $this->notification = new BP_UnitTest_Factory_For_Notification( $this );
     13        $this->signup = new BP_UnitTest_Factory_For_Signup( $this );
    1314    }
    1415}
     
    164165    }
    165166}
     167
     168class BP_UnitTest_Factory_For_Signup extends WP_UnitTest_Factory_For_Thing {
     169    public function __construct( $factory = null ) {
     170        parent::__construct( $factory );
     171    }
     172
     173    public function create_object( $args ) {
     174        return BP_Signup::add( $args );
     175    }
     176
     177    public function update_object( $id, $fields ) {}
     178
     179    public function get_object_by_id( $id ) {
     180        return new BP_Signup( $id );
     181    }
     182}
Note: See TracChangeset for help on using the changeset viewer.