forked from WordPress/WordPress-Coding-Standards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "needs sanitising" functions spilling over
When a function call to a function in the list of those that are specifically marked as needing sanitization is nested within a call to another function, any later parameters of the super-function will be marked ass needing sanitization under some circumstances. This is fixed by marking the end of the statement as the closing parenthesis of the “needs sanitizing” function, rather than the next semi-colon.
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters