Changes between Initial Version and Version 1 of Ticket #55942, comment 68
- Timestamp:
- 05/04/2023 10:58:23 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55942, comment 68
initial v1 3 3 > * If we put a new parameter on `get_option()` for the type, that's a clunky API: A single option may be retrieved in several places. Having to remember in every single function call to put the right `$type`... 4 4 5 I tend to disagree. This doesn't sound like a problem. If you can remember (copy) the option name, you certainly can remember (copy) the type and eventually the default walue too :)5 I tend to disagree. This doesn't sound like a problem. If you can remember (copy) the option name, you certainly can remember (copy) the type and eventually the default value too :) 6 6 7 7 > * Using `register_setting()` is more appropriate