tommcfarlin/WordPress-Widget-Boilerplate

wrong file names for widget style/script register

Closed this issue · 1 comments

Hey, found a couple of issues:

    wp_register_style( 'widget-name-widget-styles', plugins_url( 'widget-name/css/admin.css' ) );

line 190: change admin.css to widget.css

    wp_register_script( 'widget-name-admin-script', plugins_url( 'widget-name/js/admin.js' ) );

line 201: here it should be widget-name-widget-script and widget.js

found this in the code, came here to post this issue, found it already posted, bumped.