[wp-trac] [WordPress Trac] #53199: WP_User::add_role() runs even if the added role is already set

WordPress Trac noreply at wordpress.org
Thu May 13 11:29:48 UTC 2021


#53199: WP_User::add_role() runs even if the added role is already set
--------------------------+------------------------------
 Reporter:  bhujagendra   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by bhujagendra):

 Happy to create a PR if appreciated. Would be good to know which way to
 go.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53199#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list