amaycom
Forum Replies Created
-
new version 5.2.2 dont work login page for qtranslate xt
You will not return it all the same ?
I copy from version 5.1.18 to v5.1.21 code in file classes/wp-security-process-renamed-login-page.php and insert in the end of file. And now Custom login page is working. but logout dont work. i cant logout from admin. logout doesn’t matter anymore, but…
if (function_exists('qtranxf_init_language') && strpos($home_url_with_slug, $login_slug)) {
$parsed_home_url_with_slug = parse_url($home_url_with_slug);
$home_url_with_slug = $parsed_home_url_with_slug['path']; //this will return just the path minus the protocol and host
} if (untrailingslashit($parsed_url_path) === $home_url_with_slug || (!get_option('permalink_structure') && isset($_GET[$login_slug]))) {
if (empty($action) && is_user_logged_in()) {
//if user is already logged in but tries to access the renamed login page, send them to the dashboard
// or to requested redirect-page, filterd in 'login_redirect'.
if (isset($_REQUEST['redirect_to'])) {
$redirect_to = wp_sanitize_redirect($_REQUEST['redirect_to']);
$redirect_to = wp_validate_redirect($redirect_to, apply_filters('wp_safe_redirect_fallback', admin_url(), 302));
$requested_redirect_to = $redirect_to;
} else {
$redirect_to = admin_url();
$requested_redirect_to = '';
}
$redirect_to = apply_filters('login_redirect', $redirect_to, $requested_redirect_to, wp_get_current_user());
AIOWPSecurity_Utility::redirect_to_url($redirect_to);
} else {
global $wp_version;
do_action('aiowps_rename_login_load');
AIOWPSecurity_Utility_IP::check_login_whitelist_and_forbid(); status_header(200);
if (version_compare($wp_version, '5.7', '>=')) {
require_once(AIO_WP_SECURITY_PATH . '/other-includes/wp-security-rename-login-feature.php');
} elseif (version_compare($wp_version, '5.2', '>=')) {
require_once(AIO_WP_SECURITY_PATH . '/other-includes/wp-security-rename-login-feature-pre-5-7.php');
} else {
require_once(AIO_WP_SECURITY_PATH . '/other-includes/wp-security-rename-login-feature-pre-5-2.php');
} die;
}
} return false;- This reply was modified 1 year, 3 months ago by amaycom.
Big thanx
Can I download version 5.1.19 somewhere ?
Now actively developing and supporting the modern version of the plugin Qtranslate XT. It’s not in the repository. But he’s very popular:
https://github.com/qtranslate/qtranslate-xt
On behalf of the community, please return support of qtranslate.
Thank you.
Version 5.1.21 dont compatible with multilang plugin – Qtranslate XT . I don’t think you’ll be able to fix it.
Custom login dont work anymore. What you change from version 5.1.19 ?
I will change myself. Or where i find changes ?Forum: Plugins
In reply to: [EU/UK VAT Validation Manager for WooCommerce] ES vat not validateValidation dont work anymore. All methods dont work.
wpwhale.com dont work too.
WP 5.8.1
Woocommerce 5.8.0- This reply was modified 3 years ago by amaycom.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Wallet larger than TotalYes. Thank you.