DUPLICATE: V 1.12.1 echo function stoped working

Hi,

I am using the {echo: wp_lostpassword_url()} function wich is working in 1.11.1.1 but not in 1.12.1 anymore. I don’t know if is a general issue with the echo of functions or this function spezific.

In 1.12.1 the output of this function is domain.com/login settings as following:

In 1.11.1.1 the output is domain.com/wp-login.php?action=lostpassword (as intended)

In both versions I made a new code signature and code check.

Sorry, quite short due lack of time. If you need additional informationen I will follow up.

Greetings

Hello @klickklack,

this seems to be the same issue as here, so I’m marking this post as a duplicate. I’ll mark this topic as duplicate and close it. We will update that topic once a fix is released.

The root cause is the space between echo and the function name, that you have {echo: wp_lostpassword_url()}.
There shouldn’t be a space between them, so, if you remove that space, it will work again. But, we will change this in next version, so that it will work with space again - just like before.

But for now, the only solution is to remove the space.

Best regards,
Matej

1 Like