review options list and update sanitize_option()
|Reported by:||dd32||Owned by:||dd32|
A lot of options have been added since 2.0.5, and as a result, not all of them have been added to sanitize_option()
Ideally, Options which are to be (int) or absint() should have a filter applied to them here.
Attached patch is for the first option thats brought this up, 'start_of_week' which is tested to be int in some function uses, ignored elsewhere.
I've set this to security as its preventive security..
Change History (7)
- Keywords has-patch added
- Milestone changed from 3.0 to 3.1
- Owner changed from ryan to dd32
- Status changed from new to accepted