mirror of
https://github.com/YahnisElsts/plugin-update-checker.git
synced 2025-10-03 16:33:27 +08:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue