[wp-trac] [WordPress Trac] #16980: Empty Values are converted to null by class-ixr.php

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 29 07:48:12 UTC 2011


#16980: Empty Values are converted to null by class-ixr.php
-------------------------------+------------------------------
 Reporter:  nprasath002        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  XML-RPC            |     Version:  3.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => reporter-feedback


Comment:

 I can't reproduce this. I used the following struct to edit an existing
 post (which had a bunch of tags):

 {{{
 <struct>
  <member>
   <name>title</name>
   <value><string>Hello world 2</string></value>
  </member>
  <member>
   <name>description</name>
   <value><string>My content</string></value>
  </member>
  <member>
   <name>mt_keywords</name>
   <value><string/></value>
  </member>
 </struct>
 }}}

 i.e., `mt_keywords` is just an empty string. This worked fine - it removed
 all the tags from the post. Is your XML structure different? Please give
 us a structure that will reproduce the problem.

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


More information about the wp-trac mailing list