Skip to content

Add wp_interactivity_data_wp_context to list of auto-esacaped functions - #2784

Open
Vitzkrieg wants to merge 3 commits into
WordPress:developfrom
Vitzkrieg:add/autoescape/wp_interactivity_data_wp_context
Open

Vitzkrieg wants to merge 3 commits into
WordPress:developfrom
Vitzkrieg:add/autoescape/wp_interactivity_data_wp_context

Conversation

@Vitzkrieg

@Vitzkrieg Vitzkrieg commented Oct 17, 2026 •

Copy link
Copy Markdown

Description

This PR adds wp_interactivity_data_wp_context to the list of auto-escaped functions as its output uses wp_json_encode().

Suggested changelog entry

Add wp_interactivity_data_wp_context to the list of auto-escaped functions.

Related issues/external references

https://developer.wordpress.org/reference/functions/wp_interactivity_data_wp_context/

added 'get_block_wrapper_attributes'
added 'wp_interactivity_data_wp_context'
Removed based on discussion in PR WordPress#2466
@Vitzkrieg Vitzkrieg changed the title Add wpinteractivity data wp context Add wp_interactivity_data_wp_context to list of auto-esacaped functions Oct 17, 2026
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.

1 participant