Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11106 closed enhancement (fixed)

Clarification to the inline docs for $wp_roles->add_role

Reported by: simonwheatley's profile simonwheatley Owned by:
Milestone: 2.9 Priority: normal
Severity: minor Version:
Component: Role/Capability Keywords: has-patch commit
Focuses: Cc:

Description

The attached patch clarifies the format of the caps array.

Attachments (1)

improve-docs-on-add-role-caps-array.txt (791 bytes) - added by simonwheatley 15 years ago.
Clarification to inline docs

Download all attachments as: .zip

Change History (4)

@simonwheatley
15 years ago

Clarification to inline docs

#1 @scribu
15 years ago

  • Keywords commit added
  • Milestone changed from Unassigned to 2.9

#2 @scribu
15 years ago

  • Severity changed from normal to minor

#3 @westi
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12160]) Better documentation on the format of the capabilities when adding a role. Fixes #11106 props simonwheatley.

Note: See TracTickets for help on using tickets.