[wp-trac] [WordPress Trac] #42441: Disable autoload for large options

WordPress Trac noreply at wordpress.org
Tue Jun 11 01:41:35 UTC 2024


#42441: Disable autoload for large options
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:  flixos90
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.6
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests early       |     Focuses:
  needs-dev-note                                 |  performance
-------------------------------------------------+-------------------------

Comment (by joemcgill):

 @peterwilsoncc [https://core.trac.wordpress.org/attachment/ticket/42441/
 42441-esc-sql.diff] looks like a good suggestion to me. Converted it into
 the previously linked so CI could run. :thumbsup: to commit.

 Unrelated, I like your suggestion in the dev-note draft that we should
 move the `wp_filter_default_autoload_value_via_option_size` filter on
 `wp_default_autoload_value` to a lower priority so it can be overridden
 using the default priority, so I opened an additional PR for that change.

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


More information about the wp-trac mailing list