[wp-trac] [WordPress Trac] #59738: `wp_prime_option_caches()` makes DB queries for known non-existent options (notoptions).

WordPress Trac noreply at wordpress.org
Mon Oct 30 22:18:48 UTC 2023


#59738: `wp_prime_option_caches()` makes DB queries for known non-existent options
(notoptions).
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:  flixos90
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.4
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-reviewed                                   |  performance
-------------------------------------------------+-------------------------

Comment (by joemcgill):

 Just reviewed the PR as well. This looks like a nice improvement and
 catches a couple of other edge cases. Thanks, @peterwilsoncc!

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


More information about the wp-trac mailing list