Skip to content

Commit

Permalink
no no_escape
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 11, 2025
1 parent 363a028 commit b10f776
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/polyfills.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,6 @@ function bool_escape(string|bool|int $input): bool
}
}

/**
* Some functions require a callback function for escaping,
* but we might not want to alter the data
*/
function no_escape(string $input): string
{
return $input;
}

/**
* Given a 1-indexed numeric-ish thing, return a zero-indexed
* number between 0 and $max
Expand Down

0 comments on commit b10f776

Please sign in to comment.