[wp-trac] [WordPress Trac] #23746: add_role require string does not check for empty string

WordPress Trac noreply at wordpress.org
Tue Mar 12 16:20:28 UTC 2013


#23746: add_role require string does not check for empty string
-----------------------------+------------------------------
 Reporter:  Kenshino         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.5.1
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------
Changes (by michielhab):

 * cc: michielhab (added)


Comment:

 Added check on $role in function add_role. If empty then return.
 23746.diff

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23746#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list