must be removed "/"
-
Hi,
I found a bug that must be removed “/” in mailchimp.php.
After installing MailChimp plugin, some scripts of my site did not work.
So I checked view-source and found strange two lines;
<link rel=’stylesheet’ id=’flick-css’ href=’http://hogehoge.com/wp-content/plugins/mailchimp//css/flick/flick.css?ver=3.6.1′ type=’text/css’ media=’all’ />
<script type=’text/javascript’ src=’http://hogehoge.com/wp-content/plugins/mailchimp//js/datepicker.js?ver=3.6.1′></script>
“mailchimp//css” and “mailchimp//js” must be “mailchimp/css” and “mailchimp/js”, right?
I checked source code of “mailchimp.php” and found;
line:103
wp_enqueue_style(‘flick’, MCSF_URL.’/css/flick/flick.css’);line:105
wp_enqueue_script(‘datepicker’, MCSF_URL.’/js/datepicker.js’, array(‘jquery’,’jquery-ui-core’));After removing “/” like following;
wp_enqueue_style(‘flick’, MCSF_URL.’css/flick/flick.css’);
and
wp_enqueue_script(‘datepicker’, MCSF_URL.’js/datepicker.js’, array(‘jquery’,’jquery-ui-core’));
my site is fine.
So please fix this bug on next update.
Regards,
Thank you.
The topic ‘must be removed "/"’ is closed to new replies.