[Plugin: WP-reCAPTCHA] relocated plugins folders
-
Dear BlaenkDenum,
I appreciate that you are looking for someone to take over the plugin – I hesitate to volunteer as I already have a few free ones I support.So for now, just a quick note in case you are doing an update anyway and/or for the benefit of others:
The plugin does not currently take into account possibility that wp content and/or plugin directories may have been customised/relocated.
calls to
WPPlugin::path_to_plugin_directory() and
$this->path_to_plugin_directory()can be replaced with
plugin_dir_path();
and/OR
In file wp-plugin.php around Lines 56 and below with either
static function plugins_directory() { return plugin_dir_path(__FILE__); }
and (strangely enough!)
static function plugins_url() { return plugins_url();
Many of the code there probably could be simplified these days, however I appreciate the effort ittakes to retest.
AND as you have pointed out to many bwp-recaptcha works well too!
- The topic ‘[Plugin: WP-reCAPTCHA] relocated plugins folders’ is closed to new replies.