[wp-trac] [WordPress Trac] #54164: Consistently fire user role hooks

WordPress Trac noreply at wordpress.org
Thu Sep 23 07:50:56 UTC 2021


#54164: Consistently fire user role hooks
-------------------------+------------------------------
 Reporter:  dd32         |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:  4.3
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by dd32):

 * Attachment "54164.2.diff" added.

 edgecase, when the user didn't have a role `$old_roles` would be falsey
 rather than arrayey

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54164>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list