[wp-trac] [WordPress Trac] #60926: Missing calling `exit` after using `wp_redirect`
WordPress Trac
noreply at wordpress.org
Thu Apr 4 17:30:07 UTC 2024
#60926: Missing calling `exit` after using `wp_redirect`
---------------------------------------+-----------------------------
Reporter: jigar bhanushali | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: normal | Keywords: has-patch
Focuses: administration, multisite |
---------------------------------------+-----------------------------
When I reviewed the `wp-admin/ms-options.php` file, I have found missing
calling `exit`
As per the function `wp_redirect` description, we should call `exit` after
`wp_redirect`
Ref:
https://developer.wordpress.org/reference/functions/wp_redirect/#description
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60926>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list