From 1e8fed6fde7d542c306cb96372f199c38297e748 Mon Sep 17 00:00:00 2001 From: denisbaranov Date: Thu, 28 Mar 2019 15:42:38 +0200 Subject: [PATCH] Task: Password reset 'updated=checkemail' Link: https://secure.helpscout.net/conversation/811622720/29281/ Done: function 'get_core_page_url' changed --- includes/core/class-external-integrations.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/core/class-external-integrations.php b/includes/core/class-external-integrations.php index a46174bb..46f98978 100644 --- a/includes/core/class-external-integrations.php +++ b/includes/core/class-external-integrations.php @@ -292,6 +292,10 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) { if ( get_post_meta( get_the_ID(), '_um_wpml_user', true ) == 1 ) { $url = $this->get_url_for_language( UM()->config()->permalinks[ $slug ], icl_get_current_language() ); } + + if ( $updated ) { + $url = add_query_arg( 'updated', esc_attr( $updated ), $url ); + } } return $url;