time()-4000, 'id' => 799177830), 'Time that AWP news was last checked and id of the article .'); $messages[] = __('News from the AWP twitter stream is now automatically updated here.','awp'); } if($last < 1201){ if($awpall['lightbox'] == 'Enabled'){ unset($awpall['lightbox']); $options['comp_'.$awpall[lightbox_type]] = 1; unset($awpall[lightbox_type]); $awp_mods = get_option('awp_mods'); $awp_mods[] = 'compatabilities.php'; sort($awp_mods); update_option('awp_mods', $awp_mods); $messages[] = __('Threaded comments module has been activated.','awp'); } } if($last < 1232){ update_option('awp_news',array('last' => time()-4000, 'id' => 1221765925)); } //$messages[] = __('','awp'); if($messages){ $messages[] = time(); update_option('awp_messages',$messages); } update_option('awp_version',$now); update_option('awpoptions',$options); include_once(ABSPATH . PLUGINDIR . '/'.AWP_BASE . '/control/aWP-news.php'); AWP_news::init(); return $options; } } ?>