[wp-trac] [WordPress Trac] #28745: WXR Export should allow for plugins (or core) to filter which comment meta are exported
WordPress Trac
noreply at wordpress.org
Fri Jul 4 05:22:59 UTC 2014
#28745: WXR Export should allow for plugins (or core) to filter which comment meta
are exported
-------------------------+-----------------------------
Reporter: cfinke | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Export | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
There exists a filter
(https://core.trac.wordpress.org/ticket/18280#comment:5) to allow
core/plugins to choose to skip certain postmeta in exports. It would be
handy to have the same functionality for commentmeta.
Example implementation: Akismet is already set up to use this filter (as
implemented in WordPress.com's exporter, which is discussed in #22435) to
exclude comment meta values from exports that won't be of any utility
after an import. (https://plugins.trac.wordpress.org/changeset/943192)
Patch attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28745>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list