Skip to content

Conversation

@anomiex
Copy link
Contributor

@anomiex anomiex commented Sep 3, 2023

This splits certain cases out of OutputNotEscaped to allow for ignoring certain cases that are looking at error strings at time of generation (where they may eventually be used in both HTML and non-HTML contexts) rather than at time of output.

This splits certain cases out of `OutputNotEscaped` to allow for
ignoring certain cases that are looking at error strings at time of
generation (where they may eventually be used in both HTML and non-HTML
contexts) rather than at time of output.

* `ExceptionNotEscaped` for unescaped strings in throws (cf. WordPress#2374).
* `ErrorNotEscaped` for unescaped strings in `trigger_error` (cf. WordPress#1864).
Copy link
Member

@dingo-d dingo-d left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Member

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

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

@jrfnl jrfnl added this to the 3.x Next milestone Sep 11, 2023
@dingo-d dingo-d merged commit d0e0fd3 into WordPress:develop Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants