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

Introduce new auto escaping functions #2466

Closed

Conversation

widoz
Copy link

@widoz widoz commented Jul 14, 2024

Add the following functions to the auto escaped functions

  • get_block_wrapper_attributes Render the block wrapper tag attributes
  • wp_interactivity_data_wp_context Render the interactivity json context value

Add the following functions to the auto escaped functions

- `get_block_wrapper_attributes` Render the block wrapper tag attributes
- `wp_interactivity_data_wp_context` Render the interactivity json context value
Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

@widoz Thanks for the PR, but I'm going to reject these changes as neither function is actually properly safe.

Also see a previous discussion about get_block_wrapper_attributes in #2085.

@jrfnl jrfnl closed this Jul 14, 2024
@widoz widoz deleted the add-new-auto-escaping-function branch July 14, 2024 11:16
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