[wp-trac] [WordPress Trac] #61484: Prime notoptions within `delete_option()`, `delete_network_option()`.

WordPress Trac noreply at wordpress.org
Thu Jul 25 23:03:02 UTC 2024


#61484: Prime notoptions within `delete_option()`, `delete_network_option()`.
--------------------------------------+--------------------------
 Reporter:  peterwilsoncc             |       Owner:  pbearne
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.7
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by peterwilsoncc):

 In [changeset:"58811" 58811]:
 {{{
 #!CommitTicketReference repository="" revision="58811"
 Options, Meta APIs: Prevent Single Site installs using network notoptions
 cache.

 Modifies the caching of `notoptions` in `delete_network_option()` to
 ensure that the network cache is bypassed on single site installs.

 On single site installs the incorrect caching was causing the `notoptions`
 cache to remain populated once a deleted option was subsequently added or
 updated.

 Follow up to [58782].

 Props bjorsch, pbearne.
 Fixes #61730.
 See #61484.
 }}}

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


More information about the wp-trac mailing list