[wp-trac] [WordPress Trac] #56870: Introduce a general `pre_site_option` filter in `get_network_option()`

WordPress Trac noreply at wordpress.org
Thu Oct 20 13:13:09 UTC 2022


#56870: Introduce a general `pre_site_option` filter in `get_network_option()`
--------------------------------+-----------------------------
 Reporter:  Drivingralle        |      Owner:  (none)
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 Similar to the new filter from #37930 I suggest to also add a general
 `pre_site_option` filter.

 I attach a patch to add the filter.
 Don't know how to create the test for it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56870>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list