[wp-trac] Re: [WordPress Trac] #900: support of mt_keywords

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 8 19:46:30 GMT 2007


#900: support of mt_keywords
-----------------------------+----------------------------------------------
 Reporter:  anonymousbugger  |        Owner:  anonymous
     Type:  enhancement      |       Status:  reopened 
 Priority:  normal           |    Milestone:  2.2      
Component:  XML-RPC          |      Version:  2.2      
 Severity:  normal           |   Resolution:           
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------
Comment (by redsweater):

 Attaching patch, xmlrpc.php.diff.

 Summary:

 - Accept mt_keywords input as comma-separated tag names, supplied to
 wp_insert_post and wp_update_post.

 - Convey get_post_tags result as comma-separated string to generated XML
 for getRecentPosts and getPost.

 One part I'm not sure about is the way I added an include() for wp-admin
 /admin-db.php near the top of xmlrpc.php. There is some assumption of
 implicitly included libraries, where the category_exists() function is
 used in post.php. This include fixes the problem but I'm not sure that's
 the correct way to solve it.

 Daniel

-- 
Ticket URL: <http://trac.wordpress.org/ticket/900#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list