[wp-trac] [WordPress Trac] #42036: Add same-origin referrer-policy header to WP Admin pages

WordPress Trac noreply at wordpress.org
Tue Oct 3 18:38:35 UTC 2017


#42036: Add same-origin referrer-policy header to WP Admin pages
-------------------------------------+--------------------------
 Reporter:  joostdevalk              |       Owner:  joostdevalk
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.9
Component:  Security                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+--------------------------

Comment (by joostdevalk):

 Added a new patch that introduces the function `wp_admin_headers`, and
 fires that on `admin_init` and `login_init`. This function also allows the
 policy to be filtered through the `admin_referrer_policy` filter.

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


More information about the wp-trac mailing list