| @@ -259,9 +259,9 @@ | ||
| 259 | 259 | $res = wp_remote_get( |
| 260 | 260 | home_url( '/' ), |
| 261 | 261 | array( |
| 262 | 262 | 'timeout' => 5, |
| 263 | - 'headers' => array( 'User-Agent' => 'xSpeed Health Probe/1.0' ), | |
| 263 | + 'headers' => Self_Traffic::headers( array( 'User-Agent' => 'xSpeed Health Probe/1.0' ) ), | |
| 264 | 264 | 'cookies' => array(), // anonymous — a logged-in probe would false-positive on auth cookies. |
| 265 | 265 | // Verify TLS in production; relax only for local/dev hosts, |
| 266 | 266 | // which routinely use self-signed certs. Blanket-disabling |
| 267 | 267 | // it weakened a real request on every live site. |