PluginProbe
codoc / 0.3
codoc v0.3
0.9.8.8 0.9.8.9 0.9.9 0.9.9.1 trunk 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.8.1 0.8.2 0.8.3 0.8.4 0.8.6 0.8.7 0.8.8 0.8.9 0.9 0.9.1 0.9.10 0.9.11 All 114 releases
← All changes | src/init.php +3 -3 0.9.90.3 View file →
@@ -30,9 +30,9 @@
30 30 function wordpress_cgb_block_assets() { // phpcs:ignore
31 31 // Register block styles for both frontend + backend.
32 32 wp_register_style(
33 33 'wordpress-cgb-style-css', // Handle.
34 - plugins_url( 'dist/blocks.style.build.css?ver=' . CODOC_PLUGIN_VERSION, dirname( __FILE__ ) ), // Block style CSS.
34 + plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
35 35 array( 'wp-editor' ), // Dependency to include the CSS after it.
36 36 null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time.
37 37 );
38 38
@@ -38,9 +38,9 @@
38 38
39 39 // Register block editor script for backend.
40 40 wp_register_script(
41 41 'wordpress-cgb-block-js', // Handle.
42 - plugins_url( '/dist/blocks.build.js?ver=' . CODOC_PLUGIN_VERSION, dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
42 + plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
43 43 array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above.
44 44 null, // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: filemtime — Gets file modification time.
45 45 true // Enqueue the script in the footer.
46 46 );
@@ -47,9 +47,9 @@
47 47
48 48 // Register block editor styles for backend.
49 49 wp_register_style(
50 50 'wordpress-cgb-block-editor-css', // Handle.
51 - plugins_url( 'dist/blocks.editor.build.css?ver=' . CODOC_PLUGIN_VERSION, dirname( __FILE__ ) ), // Block editor CSS.
51 + plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.
52 52 array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
53 53 null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.
54 54 );
55 55