Skip to content

Commit

Permalink
No longer ignore output not escaped, WordPress plugin review team doe…
Browse files Browse the repository at this point in the history
…sn't like this.
  • Loading branch information
remcotolsma committed Oct 5, 2023
1 parent c0ae8b6 commit 5543e10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public function render() {
* @return int
*/
public function output() {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
return print $this->render();

Check failure on line 126 in src/Element.php

View workflow job for this annotation

GitHub Actions / phpcs / phpcs

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
}

Expand Down

0 comments on commit 5543e10

Please sign in to comment.