/** * Loads the change log for an available update * * @author Jonathan Davis * @since 1.1 * * @return void **/ public static function changelog() { if ('shopp' != $_REQUEST['plugin']) { return; } $request = array('ShoppServerRequest' => 'changelog'); if (isset($_GET['core']) && !empty($_GET['core'])) { $request['core'] = $_GET['core']; } if (isset($_GET['addon']) && !empty($_GET['addon'])) { $request['addons'] = $_GET['addon']; } $data = array(); $response = ShoppSupport::callhome($request, $data); include SHOPP_ADMIN_PATH . '/help/changelog.php'; exit; }
/** * Grabs interface help screencasts * * @author Jonathan Davis * @since 1.1 * * @return void **/ public function help() { if (!isset($_GET['id'])) { return; } echo ShoppSupport::callhome(array('ShoppScreencast' => $_GET['id'], 'site' => get_bloginfo('url'))); exit; }