Make WordPress Core


Ignore:
Timestamp:
07/23/2020 07:59:16 PM (3 years ago)
Author:
johnbillion
Message:

Docs: First pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48197 r48586  
    9696     * @since 4.0.0
    9797     *
    98      * @param string   $name      Method to call.
    99      * @param array    $arguments Arguments to pass when calling.
     98     * @param string $name      Method to call.
     99     * @param array  $arguments Arguments to pass when calling.
    100100     * @return mixed|false Return value of the callback, false otherwise.
    101101     */
     
    201201     * @since 2.0.0
    202202     *
    203      * @param string $role Role name.
    204      * @param string $cap  Capability name.
    205      * @param bool $grant Optional. Whether role is capable of performing capability.
    206      *                     Default true.
     203     * @param string $role  Role name.
     204     * @param string $cap   Capability name.
     205     * @param bool   $grant Optional. Whether role is capable of performing capability.
     206     *                      Default true.
    207207     */
    208208    public function add_cap( $role, $cap, $grant = true ) {
Note: See TracChangeset for help on using the changeset viewer.