Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-blocks.php

    r46596 r46823  
    145145 * @param bool|array $allowed_block_types Array of block type slugs, or
    146146 *                                        boolean to enable/disable all.
    147  * @param object $post                    The post resource data.
     147 * @param WP_Post    $post                The post resource data.
    148148 */
    149149$allowed_block_types = apply_filters( 'allowed_block_types', true, $post );
Note: See TracChangeset for help on using the changeset viewer.