Changes between Version 1 and Version 2 of Ticket #21989, comment 32
- Timestamp:
- 11/29/2022 12:29:44 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21989, comment 32
v1 v2 9 9 That way, if the value for the option has already been sanitized by the time it reaches `add_option()`, skip sanitizing it again. 10 10 11 [https://gist.github.com/costdev/fdb4f8669fe204cce6ce9ffc28b4fd0b Here's a plugin] with a basic test. 11 [https://gist.github.com/costdev/fdb4f8669fe204cce6ce9ffc28b4fd0b Here's a plugin] with a basic test. The value is `a_string`, and sanitizing should append `_1`. 12 12 13 13 Without the above change: