[wp-trac] [WordPress Trac] #33461: Allow filtering of meta_value in exporter

WordPress Trac noreply at wordpress.org
Thu Jul 2 15:50:40 UTC 2020


#33461: Allow filtering of meta_value in exporter
---------------------------+-----------------------------
 Reporter:  newkind        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:
Component:  Export         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-refresh  |     Focuses:  administration
---------------------------+-----------------------------
Changes (by earnjam):

 * keywords:  has-patch => needs-refresh
 * version:  4.4 =>


Comment:

 We currently allow filtering the title, the content and the excerpt on
 export. We also allow skipping the export of individual post meta items or
 comment meta items, but not modifying them.

 I'd be interested in hearing more about the use case for filtering the
 postmeta output to modify it in the export.

 Also a couple of notes about the patch:
 1) The name of the filter is too generic and should identify that it's
 used for exports, similar to `the_content_export`
 2) The patches here in their current form cannot be applied properly.
 Ideally they should be created from the root of the `wordpress-develop`
 directory.

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


More information about the wp-trac mailing list