[wp-trac] [WordPress Trac] #24962: Return the allcaps array from the get_role_caps() function

WordPress Trac noreply at wordpress.org
Mon Sep 16 04:52:38 UTC 2013


#24962: Return the allcaps array from the get_role_caps() function
-----------------------------------+--------------------
 Reporter:  nofearinc              |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  3.7
Component:  Users                  |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+--------------------
Changes (by nacin):

 * keywords:  has-patch commit => has-patch 2nd-opinion


Comment:

 Actually, I'm not really sure this is desired. I understand the argument
 about `get_`, but it's probably only going to encourage using this
 roles/capabilities array directly, when in reality you shouldn't ever do
 that. More inclined to wontfix now.

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


More information about the wp-trac mailing list