Changeset 42830 for trunk/src/wp-admin/includes/misc.php
- Timestamp:
- 03/12/2018 10:56:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r42757 r42830 1147 1147 */ 1148 1148 function wp_admin_headers() { 1149 $policy = 's ame-origin';1149 $policy = 'strict-origin-when-cross-origin'; 1150 1150 1151 1151 /** 1152 * Filters the admin referrer policy header value. Default 'same-origin'.1152 * Filters the admin referrer policy header value. 1153 1153 * 1154 1154 * @since 4.9.0 1155 * @since 4.9.5 The default value was changed to 'strict-origin-when-cross-origin'. 1156 * 1155 1157 * @link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy 1156 1158 * 1157 * @param string $policy The referrer policy header value.1159 * @param string $policy The admin referrer policy header value. Default 'strict-origin-when-cross-origin'. 1158 1160 */ 1159 1161 $policy = apply_filters( 'admin_referrer_policy', $policy );
Note: See TracChangeset
for help on using the changeset viewer.