Bug?
-
After update to 0.18 I get the following error: 403 Forbidden, due to:
https://example.com/wp-content/plugins/wp-ajaxify-comments/js//wp-ajaxify-comments.js?ver=0.18.0
The culprit is the extra forward slash right before the enqeued wp-ajaxify-comments.js.
The plugin works for me when the extra slash is removed, otherwise not.
The forward slashes removed begin on line 367 in
wp-ajaxify-comments.php
wp_enqueue_script('wpAjaxifyComments', $jsPath.'/wp-ajaxify-comments.js', array('jquery', 'jQueryBlockUi', 'jsuri', 'jQueryIdleTimer', 'waypoints'), $version); } else { wp_enqueue_script('wpAjaxifyComments', $jsPath.'/wp-ajaxify-comments.min.js', array('jquery'), $version);
I’ve had the same happen to me with another plugin, so I can’t rule out it’s something in my setup which causes this, but I don’t see how the extra slash is left out in the above code since on line 360:
$jsPath = WP_PLUGIN_URL.'/wp-ajaxify-comments/js/';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug?’ is closed to new replies.