WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#14918 closed defect (bug) (fixed)

Add brief example to PHPDoc for add_role

Reported by: simonwheatley Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:

Description

Add an example to the PHPDoc for the $capabilities parameter for add_role to make it clearer.

Attachments (1)

amend-phpdoc.diff (642 bytes) - added by simonwheatley 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @nacin
10 years ago

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

(In [15640]) Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.

#2 @scribu
10 years ago

  • Milestone changed from Awaiting Review to 3.1
Note: See TracTickets for help on using tickets.