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

WordPress Trac noreply at wordpress.org
Tue Jun 11 00:06:02 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
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening for [attachment:"42441-esc-sql.diff"] to add a little defensive
 coding to the autoload database query.

 While it's safe now, let's not trust our future selves to catch it if the
 API is modified to allow developers to add values.

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


More information about the wp-trac mailing list