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

WordPress Trac noreply at wordpress.org
Sat May 17 10:17:14 UTC 2014


#28290: Changing _site_option functions for _network_option functions
--------------------------------+-----------------------------
 Reporter:  jmlapam             |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 Hi,


 I'm pretty sure this has been already discussed but functions such as
 `get_site_option()`, `update_site_option()`, `add_site_option()` have very
 confusing names.

 Why not change that for `get_network_option()`, `update_network_option()`,
 `add_network_option()` so there could be no doubt this options are
 network-wide options and do not belong to the option table?

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


More information about the wp-trac mailing list