WordPress.org

Make WordPress Core

Changeset 12028


Ignore:
Timestamp:
10/14/09 02:30:51 (6 years ago)
Author:
markjaquith
Message:

Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/capabilities.php

    r12027 r12028  
    606606        $this->get_role_caps(); 
    607607        $this->update_user_level_from_caps(); 
     608        do_action( 'set_user_role', $this->ID, $role ); 
    608609    } 
    609610 
Note: See TracChangeset for help on using the changeset viewer.