WordPress.org

Make WordPress Core

Ticket #14933: class-IXR.php.patch

File class-IXR.php.patch, 572 bytes (added by dave1010, 4 years ago)
  • C:/Users/base/Desktop/class-IXR.php

    old new  
    368368        } else { 
    369369            // It's a function - does it exist? 
    370370            if (is_array($method)) { 
    371                 if (!method_exists($method[0], $method[1])) { 
     371                if (!is_callable(array($method[0], $method[1]))) { 
    372372                    return new IXR_Error(-32601, 'server error. requested object method "'. 
    373373                        $method[1].'" does not exist.'); 
    374374                }