[wp-trac] [WordPress Trac] #26394: In update_option if option is missing add the option with autoload no
WordPress Trac
noreply at wordpress.org
Fri Mar 6 04:57:49 UTC 2015
#26394: In update_option if option is missing add the option with autoload no
--------------------------------+---------------------------
Reporter: codix | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Options, Meta APIs | Version: 3.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
--------------------------------+---------------------------
Comment (by dd32):
This change feels strange, I think most developers will expect that
passing this parameter will update the `autoload` status in the database
for an existing option.
I think we really need to handle passing it for an existing option. We
could reduce the weight of that change by requiring the value changes as
part of the update.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26394#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list