[wp-trac] [WordPress Trac] #25450: remove_role() - invalid return statement

WordPress Trac noreply at wordpress.org
Mon Sep 30 13:41:12 UTC 2013


#25450: remove_role() - invalid return statement
--------------------------+-----------------------------
 Reporter:  tivnet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  2.0
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 Returns WP_Roles::remove_role(), which is void.
 To omit the `return` looks more correct.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25450>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list