fixed subscribe on registration not using the proper setting

This commit is contained in:
Jonathan Labreuille
2016-01-14 17:41:04 +01:00
parent e3719967f9
commit 8de186c0e6
2 changed files with 5 additions and 2 deletions

View File

@@ -190,6 +190,8 @@ class Menu {
}
function welcome() {
if((bool)(defined('DOING_AJAX') && DOING_AJAX)) return;
global $wp;
$current_url = home_url(add_query_arg($wp->query_string, $wp->request));
$redirect_url =