Password protected pages
-
The form for password protected pages gets translated, and as such, the url that it sends you to when you fill in the password and click ENTER, doesn’t exist.
Example (edited the urls):
<form action="https://www.site.com/fr/wp-login.php/?action=postpass" class="post-password-form" method="post" data-no-translation="" data-trp-original-action="https://www.site.com/wp-login.php?action=postpass">
Upon pressing ENTER, it sends me to the fr/wp-login.php, but that doesn’t exist.
I’ve tried redirecting, but doesn’t fix the issue at hand as it passes by redirect.
I’ve tried
add_filter( 'trp_no_translate_selectors', 'trpc_no_stranslate_selectors', 10, 2); function trpc_no_stranslate_selectors($selectors_array, $language){ $selectors_array[] = '.post-password-form'; return $selectors_array; }
but that doesn’t do it either sadly.
Is there a fix for this?
- The topic ‘Password protected pages’ is closed to new replies.