[wp-trac] [WordPress Trac] #37181: Use metadata api in *_network_options

WordPress Trac noreply at wordpress.org
Tue Oct 18 18:14:18 UTC 2022


#37181: Use metadata api in *_network_options
--------------------------------+-------------------------------------
 Reporter:  spacedmonkey        |       Owner:  spacedmonkey
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:  6.1
Component:  Networks and Sites  |     Version:  4.4
 Severity:  normal              |  Resolution:
 Keywords:  ms-roadmap revert   |     Focuses:  multisite, performance
--------------------------------+-------------------------------------

Comment (by davidbaumwald):

 In [changeset:"54637" 54637]:
 {{{
 #!CommitTicketReference repository="" revision="54637"
 Networks and Sites: Revert the use of the metadata API for
 `*_network_options` functions.

 [54080] refactored the logic in `get_network_option()`,
 `update_network_option()` and `delete_network_option()` to use the
 metadata API. However, this change resulted in issues with large multisite
 installs that utilize memcached having network options > 1MB in size.

 This change reverts [54080] and all related follow-up changes.

 Reverts [54080], [54081], and [54082].  Partially reverts [54267] and
 [54402].

 Props pavelschoffer, rebasaurus, johnbillion, spacedmonkey, desrosj,
 rinatkhaziev.
 Fixes #56845.
 See #37181.
 }}}

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


More information about the wp-trac mailing list