Changeset 2114284
- Timestamp:
- 06/28/2019 03:20:37 PM (7 years ago)
- Location:
- soundcheck
- Files:
-
- 5 edited
-
tags/1.0.1/readme.txt (modified) (1 diff)
-
tags/1.0.1/src/init-admin.php (modified) (3 diffs)
-
tags/1.0.1/src/init-blocks.php (modified) (3 diffs)
-
trunk/src/init-admin.php (modified) (3 diffs)
-
trunk/src/init-blocks.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
soundcheck/tags/1.0.1/readme.txt
r2113843 r2114284 39 39 == Changelog == 40 40 41 = 1.0 =41 = 1.0.1 = 42 42 * Initial version of speakable blocks and validation 43 * 1.0.1 - fix for install issue43 * Fix for install issue -
soundcheck/tags/1.0.1/src/init-admin.php
r2113841 r2114284 74 74 wp_enqueue_script( 75 75 'soundcheck-admin-js', // Handle. 76 plugins_url( '/ dist/admin.build.js', dirname( __FILE__ ) ),76 plugins_url( '/admin.build.js', dirname( __FILE__ ) ), 77 77 array( 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-compose', 'wp-html-entities'), // Dependencies, defined above. 78 filemtime( plugin_dir_path( __DIR__ ) . ' dist/admin.build.js' ), // Version: File modification time.78 filemtime( plugin_dir_path( __DIR__ ) . 'admin.build.js' ), // Version: File modification time. 79 79 true // Enqueue the script in the footer. 80 80 ); … … 83 83 wp_enqueue_style( 84 84 'soundcheck-admin-css', // Handle. 85 plugins_url( ' dist/admin.build.css', dirname( __FILE__ ) ),85 plugins_url( 'admin.build.css', dirname( __FILE__ ) ), 86 86 array( 'wp-edit-blocks' ) // Dependency to include the CSS after it. 87 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.88 87 ); 89 88 … … 138 137 wp_register_script( 139 138 'soundcheck-sidebar-js', 140 plugins_url( '/ dist/sidebar.build.js', dirname( __FILE__ ) ),139 plugins_url( '/sidebar.build.js', dirname( __FILE__ ) ), 141 140 array( 'wp-plugins', 'wp-edit-post', 'wp-element', 'wp-i18n' ) 142 141 ); -
soundcheck/tags/1.0.1/src/init-blocks.php
r2113841 r2114284 24 24 wp_enqueue_style( 25 25 'soundcheck-style-css', // Handle. 26 plugins_url( ' dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.26 plugins_url( 'blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS. 27 27 array( 'wp-editor' ) // Dependency to include the CSS after it. 28 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time.29 28 ); 30 29 } … … 46 45 wp_enqueue_script( 47 46 'soundcheck-block-js', // Handle. 48 plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack. 49 array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above. 50 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: File modification time. 51 true // Enqueue the script in the footer. 47 plugins_url( '/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack. 48 array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ) // Dependencies, defined above. 52 49 ); 53 50 … … 55 52 wp_enqueue_style( 56 53 'soundcheck-block-editor-css', // Handle. 57 plugins_url( ' dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.54 plugins_url( 'blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS. 58 55 array( 'wp-edit-blocks' ) // Dependency to include the CSS after it. 59 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.60 56 ); 61 57 } -
soundcheck/trunk/src/init-admin.php
r2113841 r2114284 74 74 wp_enqueue_script( 75 75 'soundcheck-admin-js', // Handle. 76 plugins_url( '/ dist/admin.build.js', dirname( __FILE__ ) ),76 plugins_url( '/admin.build.js', dirname( __FILE__ ) ), 77 77 array( 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-compose', 'wp-html-entities'), // Dependencies, defined above. 78 filemtime( plugin_dir_path( __DIR__ ) . ' dist/admin.build.js' ), // Version: File modification time.78 filemtime( plugin_dir_path( __DIR__ ) . 'admin.build.js' ), // Version: File modification time. 79 79 true // Enqueue the script in the footer. 80 80 ); … … 83 83 wp_enqueue_style( 84 84 'soundcheck-admin-css', // Handle. 85 plugins_url( ' dist/admin.build.css', dirname( __FILE__ ) ),85 plugins_url( 'admin.build.css', dirname( __FILE__ ) ), 86 86 array( 'wp-edit-blocks' ) // Dependency to include the CSS after it. 87 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.88 87 ); 89 88 … … 138 137 wp_register_script( 139 138 'soundcheck-sidebar-js', 140 plugins_url( '/ dist/sidebar.build.js', dirname( __FILE__ ) ),139 plugins_url( '/sidebar.build.js', dirname( __FILE__ ) ), 141 140 array( 'wp-plugins', 'wp-edit-post', 'wp-element', 'wp-i18n' ) 142 141 ); -
soundcheck/trunk/src/init-blocks.php
r2113841 r2114284 24 24 wp_enqueue_style( 25 25 'soundcheck-style-css', // Handle. 26 plugins_url( ' dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.26 plugins_url( 'blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS. 27 27 array( 'wp-editor' ) // Dependency to include the CSS after it. 28 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time.29 28 ); 30 29 } … … 46 45 wp_enqueue_script( 47 46 'soundcheck-block-js', // Handle. 48 plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack. 49 array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ), // Dependencies, defined above. 50 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' ), // Version: File modification time. 51 true // Enqueue the script in the footer. 47 plugins_url( '/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack. 48 array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ) // Dependencies, defined above. 52 49 ); 53 50 … … 55 52 wp_enqueue_style( 56 53 'soundcheck-block-editor-css', // Handle. 57 plugins_url( ' dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.54 plugins_url( 'blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS. 58 55 array( 'wp-edit-blocks' ) // Dependency to include the CSS after it. 59 // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.60 56 ); 61 57 }
Note: See TracChangeset
for help on using the changeset viewer.