We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f052b6 commit 5f3e7bfCopy full SHA for 5f3e7bf
1 file changed
src/URLHelper.php
@@ -79,7 +79,7 @@ public static function getCurrent(): string {
79
}
80
81
if ( isset( $_SERVER['REQUEST_URI'] ) ) {
82
- $url = $url . sanitize_url( wp_unslash( $_SERVER['REQUEST_URI'] ) );
+ return $url . sanitize_url( wp_unslash( $_SERVER['REQUEST_URI'] ) );
83
84
85
return $url;
0 commit comments