pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
225 stars 67 forks source link

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

Closed pwtyler closed 1 year ago

pwtyler commented 1 year ago

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.