[wp-trac] [WordPress Trac] #38732: Document WP_Roles->role_objects as an array of WP_Role objects

WordPress Trac noreply at wordpress.org
Wed Nov 9 14:15:31 UTC 2016


#38732: Document WP_Roles->role_objects as an array of WP_Role objects
-----------------------------+-----------------------------
 Reporter:  jdgrimes         |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  docs             |
-----------------------------+-----------------------------
 Currently the `$role_objects` property of the `WP_Roles` class is just
 documented as an `array`. It ought to be documented as an array of
 `WP_Role` objects instead: `WP_Role[]`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38732>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list