Make WordPress Core

Changeset 47754


Ignore:
Timestamp:
05/03/2020 07:36:06 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Misc docblock corrections and improvements.

See #49572

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-type-registry.php

    r46586 r47754  
    4444     *     @type callable $render_callback Callback used to render blocks of this block type.
    4545     *     @type array    $attributes      Block attributes mapping, property name to schema.
     46     *                                     Accepts any public property of `WP_Block_Type`.
    4647     * }
    4748     * @return WP_Block_Type|false The registered block type on success, or false on failure.
  • trunk/src/wp-includes/cron.php

    r47198 r47754  
    131131     * @since 3.1.0
    132132     *
    133      * @param stdClass $event {
    134      *     An object containing an event's data.
     133     * @param stdClass|false $event {
     134     *     An object containing an event's data, or boolean false to prevent the event from being scheduled.
    135135     *
    136136     *     @type string       $hook      Action hook to execute when the event is run.
  • trunk/src/wp-includes/ms-functions.php

    r47550 r47754  
    177177     * @since 4.9.0
    178178     *
    179      * @param bool|WP_Error $retval  True if the user should be added to the site, false
    180      *                               or error object otherwise.
     179     * @param true|WP_Error $retval  True if the user should be added to the site, error
     180     *                               object otherwise.
    181181     * @param int           $user_id User ID.
    182182     * @param string        $role    User role.
Note: See TracChangeset for help on using the changeset viewer.