[wp-trac] [WordPress Trac] #42441: Disable autoload for large options
WordPress Trac
noreply at wordpress.org
Tue Jun 11 02:29:32 UTC 2024
#42441: Disable autoload for large options
-------------------------------------------------+-------------------------
Reporter: markjaquith | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.6
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests early | Focuses:
needs-dev-note | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"58380" 58380]:
{{{
#!CommitTicketReference repository="" revision="58380"
Options, Meta APIs: Add SQL escaping to query loading 'all options'.
Escapes the return value of `wp_autoload_values_to_autoload()` for use in
the database query loading 'all options'. This is a hardening fix to
protect against future changes to the options API which may allow
developers to further customize the return value of the
`wp_autoload_values_to_autoload` filter.
Follow up to [57920].
Props peterwilsoncc, joemcgill.
Fixes #42441.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42441#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list