Make WordPress Core

Ticket #60231: 60231.diff

File 60231.diff, 522 bytes (added by vishalkakadiya, 11 months ago)

Patch file

  • tools/release/sync-stable-blocks.js

    diff --git a/tools/release/sync-stable-blocks.js b/tools/release/sync-stable-blocks.js
    index 3f2a1727d7..322c0b827f 100644
    a b ${ staticBlockFolderNames } 
    5050                .map( toDirectoryName )
    5151                .sort()
    5252                // To PHP require_once statement:
    53                 .map( dirname => `require_once ABSPATH . WPINC . '/blocks/${ dirname }.php';` )
     53                .map( dirname => `require_once BLOCKS_PATH . '${ dirname }.php';` )
    5454                .join( "\n" );
    5555
    5656        fs.writeFileSync(