[wp-trac] [WordPress Trac] #35269: Check data type of wp_xmlrpc_server_class filter before instantiate wp_xmlrpc_server_class

WordPress Trac noreply at wordpress.org
Wed Dec 30 21:42:33 UTC 2015


#35269: Check data type of wp_xmlrpc_server_class filter before instantiate
wp_xmlrpc_server_class
-----------------------------+------------------------------
 Reporter:  onetarek         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  XML-RPC          |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by markoheijnen):

 There is the filter 'xmlrpc_enabled' that handles this case. This is
 handled inside the class so it can pass a XML-RPC response that says "XML-
 RPC services are disabled on this site". Personally I think that would be
 the way to go.

 So I'm tend to say that this is something we don't need but I would not
 have any problems with a class_exists check.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35269#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list