Make WordPress Core


Ignore:
Timestamp:
09/05/2026 09:32:30 AM (2 months ago)
Author:
wildworks
Message:

Docs: Align @param tag columns in block editor docblocks.

Aligns @param tag columns in docblocks across the block editor per the PHP inline documentation standards.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/13311

Props mukesh27, wildworks.
See #65818.

File:
1 edited

Legend:

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

    r63340 r63495  
    12591259 * @access private
    12601260 *
    1261  * @param string       $content  Serialized content.
    1262  * @param WP_Post|null $post     A post object that the content belongs to. If set to `null`,
    1263  *                               `get_post()` will be called to use the current post as context.
    1264  *                               Default: `null`.
    1265  * @param callable     $callback A function that will be called for each block to generate
    1266  *                               the markup for a given list of blocks that are hooked to it.
    1267  *                               Default: 'insert_hooked_blocks'.
     1261 * @param string       $content                       Serialized content.
     1262 * @param WP_Post|null $post                          A post object that the content belongs to. If set to `null`,
     1263 *                                                    `get_post()` will be called to use the current post as context.
     1264 *                                                    Default: `null`.
     1265 * @param callable     $callback                      A function that will be called for each block to generate
     1266 *                                                    the markup for a given list of blocks that are hooked to it.
     1267 *                                                    Default: 'insert_hooked_blocks'.
    12681268 * @param array|null   $ignored_hooked_blocks_at_root A reference to an array that will be populated
    1269  *                               with the ignored hooked blocks at the root level.
    1270  *                               Default: `null`.
     1269 *                                                    with the ignored hooked blocks at the root level.
     1270 *                                                    Default: `null`.
    12711271 * @return string The serialized markup.
    12721272 */
Note: See TracChangeset for help on using the changeset viewer.