Make WordPress Core


Ignore:
Timestamp:
11/01/2023 11:20:55 AM (21 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].

Reviewed by hellofromTonya.
Merges [57032] and [57033] to the 6.3 branch.

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

Location:
branches/6.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.3

  • branches/6.3/src/wp-includes/blocks.php

    r56848 r57041  
    628628 * This test optimizes for performance rather than strict accuracy, detecting
    629629 * whether the block type exists but not validating its structure and not checking
    630  * reusable blocks. For strict accuracy, you should use the block parser on post content.
     630 * synced patterns (formerly called reusable blocks). For strict accuracy,
     631 * you should use the block parser on post content.
    631632 *
    632633 * @since 5.0.0
Note: See TracChangeset for help on using the changeset viewer.