myier
Forum Replies Created
-
For the record, I found the real issue and the fix for my problem of plugins_url(). It is caused by the debian way of installing things, as symbolic links from /var/lib/wordpress to and instead of /usr/share/wordpress directly.
The solution is to install either the unstable wordpress package, which is up-to-date, or patch wordpress with the patch used in it named 011support-symlinks-for-plugins.patch.
Cheers.
Hello jpasx, if you’re talking about what I said above, the improper fix, I changed the code of the plugin (anti-spam.php), I changed the arguments of plugins_url to:
plugins_url( 'anti-spam/js/anti-spam.js' ). But it will happen with all other plugins trying to include files, so you’d better fix your wordpress installation.To let people know, if you encounter this issue, check in the source of your HTML page the path of the javascript file for the plugin. On my system, the plugins_url() function doesn’t work properly and gives something like site_url/wp-content/plugins/the_local_path_of_the_file instead of site_url/wp-content/plugins/the_path_of_the_file_relative_to_plugins.
Anti-spam works fine once this is resolved (in my case I changed the code to point to a real path, but I did not fix the real plugins_url() issue).
Thanks you webvitaly, but now I have no clue why it fails. I tested it with several browsers so it’s not a JS or cache issue, and there is no CDN, maybe there is another plugin that interferes. I’ll send you a link privately (is the feedback page on your website ok for that?).
I report the same issue with the dot-b theme. The Current ye@r line is displayed, with the 21 value in it, forbidding comments to be sent without modification of this text field.
You should not mark this issue as [resolved]! Please fix it!