Pie Register 1.31 & Theme My Login 6.3.8 Password Strength Meter problem
-
I am running WordPress 3.5.2, Pie Register 1.31 & Theme My Login 6.3.8
I have Pie Register configured to allow the user to select their password when they register. On the registration page the password strength meter stays stuck at “Too Short” unless I disable Theme My Login.
Looks to me like the problem is that Theme My Login themes the registration page by changing it’s URL from wordpress/wp-login.php?action=register to “wordpress/register/” (which is a page that it can theme).
That confused Pie Register which checks, in pie-register.php line 131:
if(isset($_GET['action']) && $_GET['action'] == 'register')
to decide whether to add the javascript for the password strength meter.
As a workaround I changed that line to be:
if((isset($_GET['action']) && $_GET['action'] == 'register') || ($_SERVER['REQUEST_URI'] == '/wordpress/register/'))
which fixes it for me, although I’ve only done a little testing. I’m not sure if that’s the best solution though. I thought I could use something like “is_page(‘Register’)” instead, but I couldn’t get that to work for some reason.
- The topic ‘Pie Register 1.31 & Theme My Login 6.3.8 Password Strength Meter problem’ is closed to new replies.