Skip to content

Commit 0553652

Browse files
committed
Security/SafeRedirect: update code comment for namespaced function calls tests
1 parent 665d3ca commit 0553652

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/Tests/Security/SafeRedirectUnitTest.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ wp_redirect( $location ); // Warning.
44
wp_safe_redirect( $location ); // OK.
55

66
/*
7-
* Safeguard support for PHP 8.0+ tokenization of namespaced "names".
7+
* Safeguard correct handling of all types of namespaced function calls
88
*/
99
\wp_redirect( $location );
1010
MyNamespace\wp_redirect( $location );

0 commit comments

Comments
 (0)