Changes between Version 1 and Version 2 of Ticket #55942, comment 58
- Timestamp:
- 04/30/2023 08:59:19 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55942, comment 58
v1 v2 8 8 > Both `register_[setting|meta]()` and typed `[get|update]_[option|meta]()` could be enhanced support both 'number', 'int[eger]' and 'float'. 9 9 10 Thinking it would perhaps be better to keep it simple and limit the "data type translation" to one place. I.e. replace `number` with `float` in `register_setting()` and `register_meta()`.10 Thinking it would perhaps be better to keep it simple and limit the "data type translation" to one place. I.e. replace `number` with `float` in registered settings and registered meta when retrieving the values. 11 11 12 12 > The register functions are for full and flexible sanitation and validation...