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

WordPress Trac noreply at wordpress.org
Fri Apr 5 07:41:41 UTC 2024


#60926: Missing calling `exit` after using `wp_redirect`
--------------------------------+----------------------------------------
 Reporter:  jigar bhanushali    |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  6.6
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  administration, multisite
--------------------------------+----------------------------------------

Comment (by Presskopp):

 The description says:

  Note: wp_redirect() does not exit automatically, and should **almost**
 always be followed by a call to exit;

 Therefore I go with jorbin

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


More information about the wp-trac mailing list