[wp-trac] [WordPress Trac] #28290: Changing _site_option functions for _network_option functions

WordPress Trac noreply at wordpress.org
Wed Oct 7 17:17:42 UTC 2015


#28290: Changing _site_option functions for _network_option functions
------------------------------------+-------------------------
 Reporter:  jmlapam                 |       Owner:  jeremyfelt
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  4.4
Component:  Options, Meta APIs      |     Version:  4.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  multisite
------------------------------------+-------------------------

Comment (by spacedmonkey):

 Replying to [comment:43 jeremyfelt]:
 > In [changeset:"34912"]:
 > {{{
 > #!CommitTicketReference repository="" revision="34912"
 > Revert [34778], continue using `_site_option()` for the current network.
 >
 > The `_network_option()` parameter order will be changing to accept
 `$network_id` first. The `_site_option()` functions will remain in use
 throughout core as our way of retrieving a network option for the current
 network.
 >
 > See #28290.
 > }}}

 Can someone explain why this was reverted? The commit doesn't explain the
 reasoning...

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


More information about the wp-trac mailing list