[wp-trac] [WordPress Trac] #34414: Add extra item fields to exported WXR file

WordPress Trac noreply at wordpress.org
Thu Jul 28 13:29:26 UTC 2016


#34414: Add extra item fields to exported WXR file
------------------------------------+------------------------------
 Reporter:  kkarpieszuk             |       Owner:
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Export                  |     Version:  4.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 Thanks for pinging me!

 I'm really not familiar with import/export stuff, so I would have to leave
 the decision for others to make here. Unfortunately there's no maintainer
 for the export component, so it doesn't get the love it deserves. I hope
 somebody stands up :)

 In my opinion a general `wxr_export_item_extra_fields` action would be
 actually quite big as there are no actions currently inside the XML
 (except for `rss2_head`). I worry about people not printing valid XML in
 there, leading to all sorts of troubles.

 For example, `echo "<testitempost id='" . $post->ID . "' />";` in your
 example is lacking some escaping of the post ID.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34414#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list