Schlagwort: Multisite
-
WordPress multisite password reset fix
to fix the issue with the wrong URLs http://www.site2.com forgot password links to http://www.site1.com/wp-login.php?action=lostpassword and not http://www.site2.com/wp-login.php?action=lostpassword the fix is: you change on the most lines network_site_url -> site_url wp-includes/general-template.php function wp_lostpassword_url( $redirect = “ ) { $args = array( ‚action‘ => ‚lostpassword‘ ); if ( !empty($redirect) ) { $args[‚redirect_to‘] = $redirect; } $lostpassword_url = add_query_arg(…