[wp-trac] [WordPress Trac] #50422: Prevent Browser Caching From Getting Involved With wp_redirect and wp_safe_redirect (Leaving the Browser to Purely Honor the Redirect Code Used)

WordPress Trac noreply at wordpress.org
Thu Jun 18 16:52:38 UTC 2020


#50422: Prevent Browser Caching From Getting Involved With wp_redirect and
wp_safe_redirect (Leaving the Browser to Purely Honor the Redirect Code
Used)
-------------------------------------+------------------------------
 Reporter:  KZeni                    |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  5.4.2
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+------------------------------
Changes (by KZeni):

 * Attachment "pluggable.php" added.

 A patched version of pluggable.php from WP 5.4.2 with these 2 changes (add
 nocache_headers to wp_redirect and remove nocache_headers from
 auth_redirect [since it then uses wp_redirect that handles that now.])

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50422>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list