vitalik1921 / marketoForms

Easy management for Marketo Forms
1 stars 0 forks source link

Double Slashes in Enqueued Scripts #1

Open smayzes opened 9 years ago

smayzes commented 9 years ago

Noticed that in the source of my scripts were showing double slashes.

/wp-content/plugins/marketofroms//pbl/css/mf_plugin.css?ver=4.3.1

Looked at /pbl/js/MF_Public.php and saw:

wp_enqueue_style('marketo-forms', MF_Loader::getPluginUrl() . '/pbl/css/mf_plugin.css');

Could possibly remove the slash before pbl/css, or edit the getPluginUrl() method. You'd know best at what should be edited. :)

vitalik1921 commented 9 years ago

Hi!

I fixed it.

Thanks :)

On Sep 25, 2015, at 10:34 PM, Shawn Mayzes notifications@github.com wrote:

Noticed that in the source of my scripts were showing double slashes.

/wp-content/plugins/marketofroms//pbl/css/mf_plugin.css?ver=4.3.1 Looked at /pbl/js/MF_Public.php and saw:

wp_enqueue_style('marketo-forms', MF_Loader::getPluginUrl() . '/pbl/css/mf_plugin.css'); Could possibly remove the slash before pbl/css, or edit the getPluginUrl() method. You'd know best at what should be edited. :)

— Reply to this email directly or view it on GitHub https://github.com/vitalik1921/marketoForms/issues/1.