Changeset 42831
- Timestamp:
- 03/12/2018 10:58:24 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/misc.php
r42213 r42831 1100 1100 */ 1101 1101 function wp_admin_headers() { 1102 $policy = 's ame-origin';1102 $policy = 'strict-origin-when-cross-origin'; 1103 1103 1104 1104 /** 1105 * Filters the admin referrer policy header value. Default 'same-origin'.1105 * Filters the admin referrer policy header value. 1106 1106 * 1107 1107 * @since 4.9.0 1108 * @since 4.9.5 The default value was changed to 'strict-origin-when-cross-origin'. 1109 * 1108 1110 * @link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy 1109 1111 * 1110 * @param string $policy The referrer policy header value.1112 * @param string $policy The admin referrer policy header value. Default 'strict-origin-when-cross-origin'. 1111 1113 */ 1112 1114 $policy = apply_filters( 'admin_referrer_policy', $policy );
Note: See TracChangeset
for help on using the changeset viewer.