Make WordPress Core


Ignore:
Timestamp:
10/31/2023 12:56:16 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: Update some reusable block references to synced patterns.

In WordPress 6.3, Reusable Blocks were renamed to Patterns. A synced pattern will behave in exactly the same way as a reusable block.

This commit updates some references in DocBlocks and inline comments to use the new name.

Follow-up to [56030].

Props benjaminknox, oglekler, hellofromTonya, marybaum, nicolefurlan.
Fixes #59388.

File:
1 edited

Legend:

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

    r57026 r57032  
    660660 * This test optimizes for performance rather than strict accuracy, detecting
    661661 * whether the block type exists but not validating its structure and not checking
    662  * reusable blocks. For strict accuracy, you should use the block parser on post content.
     662 * synced patterns (formerly called reusable blocks). For strict accuracy,
     663 * you should use the block parser on post content.
    663664 *
    664665 * @since 5.0.0
Note: See TracChangeset for help on using the changeset viewer.