We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bd1cc commit f1b6ecfCopy full SHA for f1b6ecf
includes/class-notification.php
@@ -430,7 +430,7 @@ public function get_merge_value( $tag ) {
430
break;
431
432
case 'url_referer':
433
- return isset( $_SERVER['HTTP_REFERER'] ) ? sanitize_text_field( wp_unslash( $_SERVER['HTTP_REFERER'] ) ) : '';
+ return isset( $_SERVER['HTTP_REFERER'] ) ? sanitize_url( wp_unslash( $_SERVER['HTTP_REFERER'] ) ) : '';
434
435
436
case 'url_login':
0 commit comments