[wp-trac] [WordPress Trac] #15691: Network admin should have its own settings API

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 18 20:44:46 UTC 2012


#15691: Network admin should have its own settings API
-----------------------------+-----------------------------
 Reporter:  joostdevalk      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Network Admin    |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------------
Changes (by scribu):

 * keywords:   => has-patch


Comment:

 > if they want plugins to work both networkwide and on single sites,
 they'll have to use $options = is_network_admin() ? get_site_option(
 'my_plugin_options' ) : get_option( 'my_plugin_options' );

 If plugin authors want to have per-site options that overwrite network-
 wide options, they'll have to handle it themselves. It would be nice to
 have it in Core, but it's not a sticking point.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15691#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list