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

WordPress Trac noreply at wordpress.org
Wed Sep 9 03:41:29 UTC 2015


#23746: add_role require string does not check for empty string
-----------------------------+------------------------
 Reporter:  Kenshino         |       Owner:  chriscct7
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  Role/Capability  |     Version:  3.5
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33967"]:
 {{{
 #!CommitTicketReference repository="" revision="33967"
 Ensure that `role` is not empty before adding it in `add_role()` function
 and methods.

 Props MikeHansenMe, dannydehaan, michielhab.
 Fixes #23746.
 }}}

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


More information about the wp-trac mailing list