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

WordPress Trac noreply at wordpress.org
Tue Oct 1 02:52:14 UTC 2013


#25450: remove_role() - invalid return statement
--------------------------+------------------
 Reporter:  tivnet        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Inline Docs   |     Version:  2.0
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * component:  Users => Inline Docs
 * milestone:  Awaiting Review => 3.7


Comment:

 Appears to be a copy/paste in [3249].

 The patch looks good. If we're removing the value from the docs, omitting
 the `return` makes sense.

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


More information about the wp-trac mailing list