[wp-trac] [WordPress Trac] #58821: add_option() called using deprecated parameter in upgrade_630()

WordPress Trac noreply at wordpress.org
Mon Jul 17 15:51:36 UTC 2023


#58821: add_option() called using deprecated parameter in upgrade_630()
------------------------------+---------------------
 Reporter:  gudmdharalds      |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.3
Component:  Upgrade/Install   |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by costdev):

 * keywords:   => has-patch commit
 * milestone:  Awaiting Review => 6.3


Comment:

 Nicely spotted @gudmdharalds!

 The patch looks good to me.

 Note to reviewers: While `'yes'` is the default value for the `$autoload`
 parameter, and could therefore be removed here entirely, it was discussed
 in the original ticket and
 [https://core.trac.wordpress.org/ticket/55270#comment:20 considered more
 explanatory] to be explicit.

 I don't think this one needs testing. The issue is quite apparent. Adding
 for `commit` consideration.

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


More information about the wp-trac mailing list