Title: [Plugin: WP-reCAPTCHA] relocated plugins folders
Last modified: August 20, 2016

---

# [Plugin: WP-reCAPTCHA] relocated plugins folders

 *  [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/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!
 * [http://wordpress.org/extend/plugins/wp-recaptcha/](http://wordpress.org/extend/plugins/wp-recaptcha/)

The topic ‘[Plugin: WP-reCAPTCHA] relocated plugins folders’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-recaptcha.svg)
 * [WP-reCAPTCHA](https://wordpress.org/plugins/wp-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recaptcha/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-recaptcha-relocated-plugins-folders/)
 * Status: not a support question