Make WordPress Core


Ignore:
Timestamp:
11/01/2023 11:18:52 AM (16 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.4 branch.

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

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

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

    r57039 r57040  
    654654 * This test optimizes for performance rather than strict accuracy, detecting
    655655 * whether the block type exists but not validating its structure and not checking
    656  * reusable blocks. For strict accuracy, you should use the block parser on post content.
     656 * synced patterns (formerly called reusable blocks). For strict accuracy,
     657 * you should use the block parser on post content.
    657658 *
    658659 * @since 5.0.0
Note: See TracChangeset for help on using the changeset viewer.