From e353576f1ac1541f60a33f5d4902846c97816229 Mon Sep 17 00:00:00 2001 From: Zared Rogers <66061110+ZaredRogers@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:28:00 +0000 Subject: [PATCH] Replaced mistakenly edited out comments --- src/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/init.php b/src/init.php index 310ee77e..e5757501 100644 --- a/src/init.php +++ b/src/init.php @@ -33,7 +33,7 @@ function to_block_block_assets() { 'to_block-style-css', // Handle. plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS. array(), // Dependency to include the CSS after it. - null // Version: File modification time. + null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time. ); // Register block editor script for backend. @@ -41,7 +41,7 @@ function to_block_block_assets() { 'to_block-block-js', // Handle. plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack. array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above. - null, // Version: filemtime — Gets file modification time. + null, // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: filemtime — Gets file modification time. true // Enqueue the script in the footer. ); @@ -50,7 +50,7 @@ function to_block_block_assets() { 'to_block-block-editor-css', // Handle. plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS. array( 'wp-edit-blocks' ), // Dependency to include the CSS after it. - null // Version: File modification time. + null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time. ); /**