diff --git a/class/wpmdb.php b/class/wpmdb.php index 77ecd45..f427826 100644 --- a/class/wpmdb.php +++ b/class/wpmdb.php @@ -3447,7 +3447,7 @@ function load_assets() { // add our custom CSS classes to add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) ); - $plugins_url = trailingslashit( plugins_url( $this->plugin_folder_name ) ); + $plugins_url = trailingslashit( plugins_url( '/', $this->plugin_file_path ) ); $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version; $ver_string = '-' . str_replace( '.', '', $this->plugin_version ); $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';