Changes between Initial Version and Version 1 of Ticket #61103, comment 25
- Timestamp:
- 08/14/2024 05:44:19 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61103, comment 25
initial v1 2 2 > Can we achieve this with a one time database migration instead of (or in addition to) changing all `update_option` calls. 3 3 4 I'm not sure. I guess the way that core uses options, in most cases `update_option()` truly just ''updates'' the option (rather than inserting it), so in those cases it's fine to not pass it. But for new options it should be passed. 4 I'm not sure. I guess the way that core uses options, in most cases `update_option()` truly just ''updates'' the option (rather than inserting it), so in those cases it's fine to not pass it. But for new options it should be passed. For all the options that are prepopulated during WP installation and never deleted, a once-off migration would work. 5 5 6 6 @SergeyBiryukov