norfan
Forum Replies Created
-
Forum: Plugins
In reply to: [Clean Login] Login redirect no longer worksForum: Plugins
In reply to: [Clean Login] Login redirect no longer worksthe bug is unlucky still in the system at version 1.12.8.2.
For those who can code in the plugin itself here the fix:
clean-login/include/controller.php – -line 86
wrong:
$url = apply_filters( 'login_redirect', '', '', $user );
correct:
$url = apply_filters( 'login_redirect', $url, '', $user );Hi Javier Carazo (@carazo):
This should fix the problem. In apply_filters the first param is the default value when no other filter is defined. So you emptied the $url always. But your default is the $url you fetched from plugin settings.- This reply was modified 4 years, 8 months ago by norfan.
I figured out, that “Redirection for Contact Form 7” changed there nonce names, but missed out at least this one:
wpcf7-redirect/templates/extensions/extensions-table.php – Line 10:
wrong: wp_nonce_field( ‘manage_cf7_redirect’, ‘_wpcf7nonce’ );
correct: wp_nonce_field( ‘manage_cf7_redirect’, ‘_wpcf7rnonce’ );(have a look at the r)