Skip to content

Escape output in functions-abilities.php #121

Description

@CoachBirgit

Description

Two lines output data without running it through a WordPress escaping function. This is a security requirement for WordPress.org submission.

Affected lines

  • Line 53: Output of __() (translation function) — wrap with esc_html() or esc_attr() depending on context
  • Line 54: Output of $id — wrap with esc_html( $id ) or sanitize_key( $id )

Reference

WordPress Escaping Functions

PHPCS rule

WordPress.Security.EscapeOutput.OutputNotEscaped

Activity

  1. added a commit that references this issue on May 12, 2026
    e752d16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions