[wp-trac] [WordPress Trac] #14933: IXR_Server->call() fails when calling method that uses __call()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 22 23:47:15 UTC 2010


#14933: IXR_Server->call() fails when calling method that uses __call()
--------------------------------------------+-------------------------------
 Reporter:  dave1010                        |        Owner:                 
     Type:  defect (bug)                    |       Status:  reopened       
 Priority:  normal                          |    Milestone:  Awaiting Review
Component:  XML-RPC                         |      Version:  3.0.1          
 Severity:  normal                          |   Resolution:                 
 Keywords:  IXR extending xmlrpc has-patch  |  
--------------------------------------------+-------------------------------

Comment(by hakre):

 Patch does not apply clean against trunk.
 ----
 __call() will only be called if a certain function does not exists by
 name. So I don't understand your code example, because if so, your
 __call() implementation will fail by call_user_func_array() as $method on
 $this does not exists and that's why __call() will be invoked.

 Or do I see something wrong here?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14933#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list