[wp-trac] Re: [WordPress Trac] #9463: WP XML-RPC server classes should be in a separated file + PATCH

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 5 18:57:57 GMT 2009


#9463: WP XML-RPC server classes should be in a separated file + PATCH
--------------------------+-------------------------------------------------
 Reporter:  nicolagreco   |       Owner:  josephscott      
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  Unassigned       
Component:  XML-RPC       |     Version:  2.8              
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by hakre):

 i can not speak for the poster, but if it is easily includeable, a simple
 code example can be:

 {{{
 class modded extends wp_xmlrpc_server
 {
 // subclassing: overwriting, extending etc.
 }

 $modded = new modded();
 }}}

 this way an instance w/o an instance of wp_xmlrpc_server is possible.

 if definition and instantiation is within the same file (like it is
 currently), this won't be possible.

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


More information about the wp-trac mailing list