[wp-trac] [WordPress Trac] #24822: XMLRPC wp.editPost doesn't update existing keys

WordPress Trac noreply at wordpress.org
Mon Aug 26 14:46:48 UTC 2013


#24822: XMLRPC wp.editPost doesn't update existing keys
--------------------------+----------------------
 Reporter:  jmaimarc      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  XML-RPC       |     Version:  3.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 If you look a few lines above, the metadata is only edited if the passed
 key is equal to the key in the DB. This is by design.

 We don't allow for the updating, via XML-RPC, of a key of an existing row
 of metadata. You'd have to delete the metadata and re-create a new
 key/value pair.

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


More information about the wp-trac mailing list