Ticket #19856: 19856.diff
File 19856.diff, 488 bytes (added by , 13 years ago) |
---|
-
wp-includes/functions.php
function wp_get_referer() { 1333 1333 else if ( ! empty( $_SERVER['HTTP_REFERER'] ) ) 1334 1334 $ref = $_SERVER['HTTP_REFERER']; 1335 1335 1336 if ( $ref && $ref!== $_SERVER['REQUEST_URI'] )1336 if ( $ref && parse_url( $ref, PHP_URL_PATH ) !== $_SERVER['REQUEST_URI'] ) 1337 1337 return $ref; 1338 1338 return false; 1339 1339 }