Skip to content

Add do_blocks to the $autoEscapedFunctions list #2524

@dossy

Description

@dossy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions