[wp-trac] [WordPress Trac] #14814: Allow WP XML-RPC Library to be Extended

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 9 00:53:50 UTC 2010

#14814: Allow WP XML-RPC Library to be Extended
 Reporter:  filosofo      |       Owner:  filosofo 
     Type:  defect (bug)  |      Status:  assigned 
 Priority:  normal        |   Milestone:  3.1      
Component:  XML-RPC       |     Version:  3.1      
 Severity:  normal        |    Keywords:  has-patch

Comment(by hakre):

 Replying to [comment:14 filosofo]:
 > ...
 > The empty check is to allow someone to abort the server response with a
 callback that returns false.

 Then {{{if ( class_exists( $xmlrpc_server_class ) )}}} should be
 sufficient, because class_exists( (bool) FALSE )  will be false as well.
 No need to check for {{{ ! empty($xmlrpc_server_class) }}} additionally.

Ticket URL: <http://core.trac.wordpress.org/ticket/14814#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list