move Blocks.php stuff alongside top level includes

This commit is contained in:
2025-12-09 22:07:50 +00:00
parent 5558a60696
commit ab4aad0fc6
3 changed files with 52 additions and 156 deletions

View File

@@ -85,7 +85,7 @@ autoload_psr4_blocks();
|
*/
collect(['setup', 'filters'])
collect(['setup', 'filters', 'blocks'])
->each(function ($file) {
if (! locate_template($file = "app/{$file}.php", true, true)) {
wp_die(