equalizedigital / accessibility-checker

GNU General Public License v2.0
15 stars 8 forks source link

Improve data and input handling for storage #572

Closed pattonwebz closed 4 months ago

pattonwebz commented 4 months ago

This PR wraps many places where we store or output data in sanitisers, validators, or escapes.

I don't generally think any of these places or pieces of data would have been a risk, but adding this as a precaution is still worth it.

I searched the code with regex and looked at every instance of (set|update|add)_(option|post_meta|transient) to find these location

Fixes: #509