close
Skip to content

Introduce new auto escaping functions#2466

Closed
widoz wants to merge 1 commit into
WordPress:developfrom
widoz:add-new-auto-escaping-function
Closed

Introduce new auto escaping functions#2466
widoz wants to merge 1 commit into
WordPress:developfrom
widoz:add-new-auto-escaping-function

Conversation

@widoz
Copy link
Copy Markdown

@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
Copy Markdown
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