[wp-trac] [WordPress Trac] #61103: update all update_option calling in core to set the autoload option

WordPress Trac noreply at wordpress.org
Fri May 24 16:30:16 UTC 2024


#61103: update all update_option calling in core to set the autoload option
--------------------------------+------------------------------
 Reporter:  pbearne             |       Owner:  pbearne
     Type:  defect (bug)        |      Status:  assigned
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  performance
--------------------------------+------------------------------

Comment (by swissspidy):

 > I feel it good practice to set the default to make clear that choice was
 made

 > I thought it might help to list the options I propose, not to autoload,
 that are currently not unset in core.

 Can we achieve this with a one time database migration instead of (or in
 addition to) changing all `update_option` calls.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61103#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list