[wp-trac] [WordPress Trac] #60926: Missing calling `exit` after using `wp_redirect`

WordPress Trac noreply at wordpress.org
Thu Apr 4 17:39:13 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              |  Resolution:
 Keywords:  has-patch close     |     Focuses:  administration, multisite
--------------------------------+----------------------------------------
Changes (by jorbin):

 * keywords:  has-patch => has-patch close


Comment:

 I don't think `exit` is necessary since the file ends after the redirect.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60926#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list