[wp-trac] [WordPress Trac] #42441: Disable autoload for large options
WordPress Trac
noreply at wordpress.org
Tue Jun 11 02:38:59 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
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
In [changeset:"58381" 58381]:
{{{
#!CommitTicketReference repository="" revision="58381"
Options, Meta APIs: Lower priority of default autoload threshold filter.
Lowers the priority at which
`wp_filter_default_autoload_value_via_option_size()` is registered to run
on the `wp_default_autoload_value()` filter. The default filter now runs
at priority 5.
This is to allow third party developers to modify whether an option is
autoloaded using the default priority, 10, rather than require they
register their code to run at a higher priority.
Follow up to [57920].
Props peterwilsoncc, joemcgill.
Fixes #42441.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42441#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list