[wp-trac] [WordPress Trac] #33958: All Options Filter

WordPress Trac noreply at wordpress.org
Mon Nov 21 00:50:47 UTC 2016


#33958: All Options Filter
-------------------------------------------------+-------------------------
 Reporter:  sebastian.pisula                     |       Owner:  pento
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh needs-unit-  |     Focuses:
  tests                                          |  performance
-------------------------------------------------+-------------------------
Changes (by pento):

 * keywords:  reporter-feedback close => has-patch needs-refresh needs-unit-
     tests
 * owner:   => pento
 * focuses:   => performance
 * status:  new => assigned
 * milestone:  Awaiting Review => 4.8


Comment:

 A similar filter is used on WP.com, before the `wp_cache_add()` in
 `wp_load_alloptions()`, to ensure that `$alloptions` isn't too big for the
 cache to handle.

 A `pre_cache_alloptions` along with the proposed `alloptions` filter would
 be valuable.

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


More information about the wp-trac mailing list