blaenk / wp-recaptcha

I gave ownership of this project to Google many years ago
Other
38 stars 16 forks source link

WPPlugin::url_to_plugin_directory doesn't work correctly #54

Closed lpetre closed 5 years ago

lpetre commented 11 years ago

There is a WordPress library function called plugins_url which works fine. This patch uses the library function.

I ran into this because I'm running the wordpress code from a separate subfolder, as outlined in this blog post: http://davidwinter.me/articles/2012/04/09/install-and-manage-wordpress-with-git/