We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c39086 + c66bd3d commit 379a614Copy full SHA for 379a614
1 file changed
classes/Dashboard.php
@@ -79,7 +79,13 @@ public function redirect_old_dashboard_pages() {
79
return;
80
}
81
82
- wp_safe_redirect( $redirect_mappings[ $current_url ] );
+ $redirect_url = $redirect_mappings[ $current_url ];
83
+
84
+ if ( tutor_utils()->count( $_GET ) ) {
85
+ $redirect_url = UrlHelper::add_query_params( $redirect_url, $_GET );
86
+ }
87
88
+ wp_safe_redirect( $redirect_url );
89
exit;
90
91
0 commit comments