$update_methods = array(
0 => __("Default"),
1 => __("Magpie"),
- 2 => __("SimplePie"),
- 3 => __("Twitter OAuth"));
+ 2 => __("SimplePie"));
if (DEFAULT_UPDATE_METHOD == "1") {
$update_methods[0] .= ' (SimplePie)';
if (class_exists($op)) {
$handler = new $op($link, $_REQUEST);
- if ($handler) {
+ if ($handler && is_subclass_of($handler, 'Handler')) {
if (validate_csrf($csrf_token) || $handler->csrf_ignore($method)) {
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {