Hi,
normal admins (not network-admins) can't change the settings of this plugin in a multisite installation.
Here's a diff which adds proper calls to register_setting() and replaces the call to wp_nonce_field() by settings_fields(), which fixes the problem (i'd upload the diff into a trac ticket, but unfortunately this plugin isn't configured as a component in the trac at wordpress.org):
Index: google-adsense-plug-and-play.php
===================================================================
--- google-adsense-plug-and-play.php (revision 650734)
+++ google-adsense-plug-and-play.php (working copy)
@@ -11,13 +11,26 @@
if (!class_exists("GoogleAdsensePlugAndPlay")) {
class GoogleAdsensePlugAndPlay {
function GoogleAdsensePlugAndPlay() { //constructor
-
+ add_action('admin_init', array(&$this, 'admin_init'));
}
function addHeaderCode() {
?>
<?php
}
+ function admin_init() {
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_backgroundcolor');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_bordercolor');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_bottomadtype');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_displaypages');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_displayposts');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_publisherid');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_support');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_textcolor');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_titlecolor');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_topadtype');
+ register_setting('google_adsense_plug_and_play', 'google_adsense_plug_and_play_urlcolor');
+ }
function addContent($content = '') {
global $wp_query;
global $post;
@@ -264,7 +277,7 @@
<h2>Google Adsense Plug and Play - Settings</h2>
<form method="post" action="options.php">
-<?php wp_nonce_field('update-options'); ?>
+<?php settings_fields('google_adsense_plug_and_play'); ?>
<table width="850">
<tr valign="top">
http://wordpress.org/extend/plugins/google-adsense-plug-and-play/