Skip to content

Add do_blocks to the $autoEscapedFunctions list #2524

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

Open
1 task done
dossy opened this issue Mar 23, 2025 · 0 comments · May be fixed by #2525
Open
1 task done

Add do_blocks to the $autoEscapedFunctions list #2524

dossy opened this issue Mar 23, 2025 · 0 comments · May be fixed by #2525

Comments

@dossy
Copy link

dossy commented Mar 23, 2025

Is your feature request related to a problem?

It's not a good habit to have to keep adding phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped before my echo do_blocks( ... );

Describe the solution you'd like

I'd like do_blocks added to the $autoEscapedFunctions list, just like do_shortcode is.

Additional context (optional)

  • I intend to create a pull request to implement this feature.
@dossy dossy linked a pull request Mar 24, 2025 that will close this issue
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 a pull request may close this issue.

1 participant