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

WordPress Trac noreply at wordpress.org
Sat Jun 22 07:59:25 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 audrasjb):

 * keywords:  has-patch => has-patch close
 * milestone:  6.6 => Awaiting Review


Comment:

 I also agree with what the documentation says: it should "almost" always
 be followed by an `exit` call. Therefore, I'm re-adding the `close`
 keyword and putting this ticket outside of the current milestone.

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


More information about the wp-trac mailing list