Plugin Directory

Changeset 2114284


Ignore:
Timestamp:
06/28/2019 03:20:37 PM (7 years ago)
Author:
peckdaniel
Message:

fixing deployed location paths

Location:
soundcheck
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • soundcheck/tags/1.0.1/readme.txt

    r2113843 r2114284  
    3939== Changelog ==
    4040
    41 = 1.0 =
     41= 1.0.1 =
    4242* Initial version of speakable blocks and validation
    43 * 1.0.1 - fix for install issue
     43* Fix for install issue
  • soundcheck/tags/1.0.1/src/init-admin.php

    r2113841 r2114284  
    7474        wp_enqueue_script(
    7575            'soundcheck-admin-js', // Handle.
    76             plugins_url( '/dist/admin.build.js', dirname( __FILE__ ) ),
     76            plugins_url( '/admin.build.js', dirname( __FILE__ ) ),
    7777            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.
    7979            true // Enqueue the script in the footer.
    8080        );
     
    8383        wp_enqueue_style(
    8484            'soundcheck-admin-css', // Handle.
    85             plugins_url( 'dist/admin.build.css', dirname( __FILE__ ) ),
     85            plugins_url( 'admin.build.css', dirname( __FILE__ ) ),
    8686            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.
    8887        );
    8988
     
    138137    wp_register_script(
    139138        'soundcheck-sidebar-js',
    140         plugins_url( '/dist/sidebar.build.js', dirname( __FILE__ ) ),
     139        plugins_url( '/sidebar.build.js', dirname( __FILE__ ) ),
    141140        array( 'wp-plugins', 'wp-edit-post', 'wp-element',  'wp-i18n' )
    142141    );
  • soundcheck/tags/1.0.1/src/init-blocks.php

    r2113841 r2114284  
    2424    wp_enqueue_style(
    2525        '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.
    2727        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.
    2928    );
    3029}
     
    4645    wp_enqueue_script(
    4746        '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.
    5249    );
    5350
     
    5552    wp_enqueue_style(
    5653        '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.
    5855        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.
    6056    );
    6157}
  • soundcheck/trunk/src/init-admin.php

    r2113841 r2114284  
    7474        wp_enqueue_script(
    7575            'soundcheck-admin-js', // Handle.
    76             plugins_url( '/dist/admin.build.js', dirname( __FILE__ ) ),
     76            plugins_url( '/admin.build.js', dirname( __FILE__ ) ),
    7777            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.
    7979            true // Enqueue the script in the footer.
    8080        );
     
    8383        wp_enqueue_style(
    8484            'soundcheck-admin-css', // Handle.
    85             plugins_url( 'dist/admin.build.css', dirname( __FILE__ ) ),
     85            plugins_url( 'admin.build.css', dirname( __FILE__ ) ),
    8686            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.
    8887        );
    8988
     
    138137    wp_register_script(
    139138        'soundcheck-sidebar-js',
    140         plugins_url( '/dist/sidebar.build.js', dirname( __FILE__ ) ),
     139        plugins_url( '/sidebar.build.js', dirname( __FILE__ ) ),
    141140        array( 'wp-plugins', 'wp-edit-post', 'wp-element',  'wp-i18n' )
    142141    );
  • soundcheck/trunk/src/init-blocks.php

    r2113841 r2114284  
    2424    wp_enqueue_style(
    2525        '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.
    2727        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.
    2928    );
    3029}
     
    4645    wp_enqueue_script(
    4746        '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.
    5249    );
    5350
     
    5552    wp_enqueue_style(
    5653        '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.
    5855        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.
    6056    );
    6157}
Note: See TracChangeset for help on using the changeset viewer.