Ticket #14933: 14933.patch
File 14933.patch, 651 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-IXR.php
441 441 } else { 442 442 // It's a function - does it exist? 443 443 if (is_array($method)) { 444 if (! method_exists($method[0], $method[1])) {444 if (!is_callable(array($method[0], $method[1]))) { 445 445 return new IXR_Error(-32601, 'server error. requested object method "'.$method[1].'" does not exist.'); 446 446 } 447 447 } else if (!function_exists($method)) {