Title: Bug 2.7.1
Last modified: August 31, 2016

---

# Bug 2.7.1

 *  Resolved [mln83](https://wordpress.org/support/users/mln83/)
 * (@mln83)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-271/)
 * When Maintenance plugin is activated but not enabled users can no longer retrieve
   their password if they loose it. See video for details:
    [http://somup.com/cDfQ1EU7t](http://somup.com/cDfQ1EU7t)
 * I hope this issue will be resolved in a coming update.
 * Best regards,
    Michael
 * [https://wordpress.org/plugins/maintenance/](https://wordpress.org/plugins/maintenance/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-271/#post-7255897)
 * Hi,
 * Thanks for using our theme
 * This problem has already resolved in the new version of Maintenance. You can 
   upload it from github:
    [https://github.com/Fruitfulcode/Maintenance](https://github.com/Fruitfulcode/Maintenance)
 * Regards
 *  Thread Starter [mln83](https://wordpress.org/support/users/mln83/)
 * (@mln83)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-271/#post-7255926)
 * Hi [@fruitfulcode](https://wordpress.org/support/users/fruitfulcode/),
 * Thanks for the quick response.
 * I am running Maintenance 2.7.1 + Maintenance Pro 2.7
 * Will the update be made available through normal channels (ie WordPress.org /
   CodeCanyon?)
 * Best regards,
    Michael
 *  [Fruitful Code](https://wordpress.org/support/users/fruitfulcode/)
 * (@fruitfulcode)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-271/#post-7255935)
 * Hi Michael,
 * Of course soon the update will be available on WordPress.org
 * Best regards
 *  Thread Starter [mln83](https://wordpress.org/support/users/mln83/)
 * (@mln83)
 * [10 years ago](https://wordpress.org/support/topic/bug-271/#post-7255961)
 * Hi [@fruitfulcode](https://wordpress.org/support/users/fruitfulcode/),
 * Thanks. I look forward to the updates.
 * Best regards,
    Michael
 *  [Gingko_fr](https://wordpress.org/support/users/gingko_fr/)
 * (@gingko_fr)
 * [10 years ago](https://wordpress.org/support/topic/bug-271/#post-7255964)
 * In the meantime, I looked in the code for trying to find the error.
 * This seems to be due do the “reset_pass_url” function in `wp-content/plugins/
   maintenance/load/functions.php` filter, which does not return the original value
   in its first argument which it doesn’t even have.
 * I modified the file, lines 296 to 303, the following ways and now it seems to
   work :
 *     ```
       function reset_pass_url($arg) {
       	include_once(ABSPATH . 'wp-admin/includes/plugin.php');
       	if (is_plugin_active('woocommerce/woocommerce.php')) {
       		$siteURL = get_option('siteurl');
       		return "{$siteURL}/wp-login.php?action=lostpassword";
       	}
       	return $arg;
       }
       add_filter( 'lostpassword_url',  'reset_pass_url', 999, 1 );
       ```
   
 * I added the missing argument and returned it at the end.
 *  Thread Starter [mln83](https://wordpress.org/support/users/mln83/)
 * (@mln83)
 * [10 years ago](https://wordpress.org/support/topic/bug-271/#post-7255983)
 * Thanks for this update.
 * I would appreciate the plugin author to implement the changes for the coming 
   update 🙂
 * Best regards,
    Michael

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Bug 2.7.1’ is closed to new replies.

 * ![](https://ps.w.org/maintenance/assets/icon-256x256.png?rev=2689583)
 * [Maintenance](https://wordpress.org/plugins/maintenance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maintenance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maintenance/)
 * [Active Topics](https://wordpress.org/support/plugin/maintenance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maintenance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maintenance/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [mln83](https://wordpress.org/support/users/mln83/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/bug-271/#post-7255983)
 * Status: resolved