Skip to content

[CMSP-390] esc_html in trigger_error causes an exception loop#421

Merged
pwtyler merged 1 commit intodefaultfrom
CMSP-390-iii
May 15, 2023
Merged

[CMSP-390] esc_html in trigger_error causes an exception loop#421
pwtyler merged 1 commit intodefaultfrom
CMSP-390-iii

Conversation

@pwtyler
Copy link
Member

@pwtyler pwtyler commented May 12, 2023

esc_html causes a fatal error with an exception loop. This drops the escaping and adds an ignore for the codesniffer. HM standards (partially upstream of our own) advocate for ignoring on all instances of trigger_error, but holding off making that global change.

@pwtyler pwtyler marked this pull request as ready for review May 12, 2023 20:32
@pwtyler pwtyler requested review from a team as code owners May 12, 2023 20:32
Copy link
Contributor

@rwagner00 rwagner00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants