Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-role.php

    r42876 r46596  
    3838     * @since 2.0.0
    3939     *
    40      * @param string $role Role name.
    41      * @param array $capabilities List of capabilities.
     40     * @param string $role         Role name.
     41     * @param bool[] $capabilities List of capabilities keyed by the capability name,
     42     *                             e.g. array( 'edit_posts' => true, 'delete_posts' => false ).
    4243     */
    4344    public function __construct( $role, $capabilities ) {
Note: See TracChangeset for help on using the changeset viewer.