Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11106 closed enhancement (fixed)

Clarification to the inline docs for $wp_roles->add_role

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

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 17 years ago.
Clarification to inline docs

Download all attachments as: .zip

Change History (4)

#1 @scribu
17 years ago

  • Keywords commit added
  • Milestone Unassigned → 2.9

#2 @scribu
17 years ago

  • Severity normal → minor

#3 @westi
17 years ago

  • Resolution → fixed
  • Status new → 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.