[wp-trac] [WordPress Trac] #32060: Add actions for add_role() and remove_role()

WordPress Trac noreply at wordpress.org
Sun Jun 14 19:21:52 UTC 2015

#32060: Add actions for add_role() and remove_role()
 Reporter:  danielbachhuber                  |       Owner:  shooper
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.3
Component:  Role/Capability                  |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  good-first-bug has-patch commit  |     Focuses:

Comment (by nacin):

 All hooks in WordPress with the word "added" or "deleted" use it as a
 prefix, not a suffix. Verb + noun is pretty common for us. I'm going to
 change this to added_user_role and removed_user_role.

Ticket URL: <https://core.trac.wordpress.org/ticket/32060#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list