Ticket #60231: 60231.diff
File 60231.diff, 522 bytes (added by , 11 months ago) |
---|
-
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 } 50 50 .map( toDirectoryName ) 51 51 .sort() 52 52 // To PHP require_once statement: 53 .map( dirname => `require_once ABSPATH . WPINC . '/blocks/${ dirname }.php';` )53 .map( dirname => `require_once BLOCKS_PATH . '${ dirname }.php';` ) 54 54 .join( "\n" ); 55 55 56 56 fs.writeFileSync(