Changeset 36242
- Timestamp:
- 01/09/2016 02:35:03 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r36090 r36242 1526 1526 $ref = wp_unslash( $_SERVER['HTTP_REFERER'] ); 1527 1527 1528 if ( $ref && $ref !== wp_unslash( $_SERVER['REQUEST_URI'] ) )1528 if ( $ref && $ref !== wp_unslash( $_SERVER['REQUEST_URI'] ) && $ref !== home_url() . wp_unslash( $_SERVER['REQUEST_URI'] ) ) { 1529 1529 return wp_validate_redirect( $ref, false ); 1530 } 1531 1530 1532 return false; 1531 1533 }
Note: See TracChangeset
for help on using the changeset viewer.