$key){ if($comp != "action"){ if($key == 'disable-update'){ $plugin_name = preg_replace("/_php/", ".php", htmlentities(strip_tags($comp))); $note = ''; if(isset($_POST[$comp.'-note'])){$note = $_POST[$comp.'-note'];} $pub_plugins[$plugin_name] = array('name' => $plugin_name, 'note' => $note); } } } update_option(PUB_UPDATE_DEACTIVATED, serialize($pub_plugins)); ?>
Options saved!