WordPress.org

Make WordPress Core

Changeset 51895


Ignore:
Timestamp:
10/07/2021 01:14:43 PM (7 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since note for the new $parent_block parameter of several filters:

  • pre_render_block
  • render_block_data
  • render_block_context

Follow-up to [51894].

See #51612.

File:
1 edited

Legend:

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

    r51894 r51895  
    820820     *
    821821     * @since 5.1.0
     822     * @since 5.9.0 The `$parent_block` parameter was added.
    822823     *
    823824     * @param string|null   $pre_render   The pre-rendered content. Default null.
     
    836837     *
    837838     * @since 5.1.0
     839     * @since 5.9.0 The `$parent_block` parameter was added.
    838840     *
    839841     * @param array         $parsed_block The block being rendered.
     
    861863     *
    862864     * @since 5.5.0
     865     * @since 5.9.0 The `$parent_block` parameter was added.
    863866     *
    864867     * @param array         $context      Default context.
Note: See TracChangeset for help on using the changeset viewer.