Replace wp_redirect() with wp_safe_redirect()
This redirect always goes back to the "Plugins" page on the same site, so this should be fine. Reported in #597
This commit is contained in:
parent
e39f84488e
commit
5dfd5e5d1e
|
|
@ -187,7 +187,7 @@ if ( !class_exists(Ui::class, false) ):
|
|||
}
|
||||
}
|
||||
|
||||
wp_redirect(add_query_arg(
|
||||
wp_safe_redirect(add_query_arg(
|
||||
array(
|
||||
'puc_update_check_result' => $status,
|
||||
'puc_slug' => $this->updateChecker->slug,
|
||||
|
|
|
|||
Loading…
Reference in New Issue