Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ExceptionNotEscaped in Currency.php line 96 #9

Closed
remcotolsma opened this issue Oct 2, 2024 · 0 comments · Fixed by #10
Closed

Error ExceptionNotEscaped in Currency.php line 96 #9

remcotolsma opened this issue Oct 2, 2024 · 0 comments · Fixed by #10
Assignees

Comments

@remcotolsma
Copy link
Member

remcotolsma commented Oct 2, 2024

FILE: packages/pronamic/wp-money/src/Currency.php

Line Column Type Code Message
96 21 ERROR WordPress.Security.EscapeOutput.ExceptionNotEscaped All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$alphabetic_code'.

throw new \InvalidArgumentException(
\sprintf(
'The alphabetical code of a currency must consist of 3 characters: %s.',
$alphabetic_code
)
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant