WordPress.org

Plugin Directory

Changeset 609906


Ignore:
Timestamp:
10/09/12 07:47:11 (19 months ago)
Author:
picklewagon
Message:

rename function that sends admin request to get access to site

File:
1 edited

Legend:

Unmodified
Added
Removed
  • new-user-approve/trunk/new-user-approve.php

    r609905 r609906  
    5757        add_action( 'init', array( $this, 'init' ) ); 
    5858        add_action( 'init', array( $this, 'process_input' ) ); 
    59         add_action( 'register_post', array( $this, 'send_approval_email' ), 10, 3 ); 
     59        add_action( 'register_post', array( $this, 'send_admin_request' ), 10, 3 ); 
    6060        add_action( 'lostpassword_post', array( $this, 'lost_password' ) ); 
    6161        add_action( 'user_register', array( $this, 'add_user_status' ) ); 
     
    259259     * Send an email to the admin to request approval 
    260260     */ 
    261     public function send_approval_email( $user_login, $user_email, $errors ) { 
     261    public function send_admin_request( $user_login, $user_email, $errors ) { 
    262262        if ( ! $errors->get_error_code() ) { 
    263263            /* check if already exists */ 
Note: See TracChangeset for help on using the changeset viewer.