[wp-trac] [WordPress Trac] #48180: extend export with filter for join and where clause

WordPress Trac noreply at wordpress.org
Mon Sep 30 11:37:29 UTC 2019


#48180: extend export with filter for join and where clause
-------------------------+------------------------------
 Reporter:  mgleich      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Export       |     Version:  5.2.3
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by mgleich):

 Replying to [comment:1 subrataemfluence]:
 > @mgleich thanks for the ticket and proposed patch!
 >
 > A core functionality does not address a specific purpose. It has to be
 generic.
 >
 > Apart from the situation you have described, how you think these two
 filters can benefit if embedded in core functionality?
 >
 > An explanation would be great.

 I understand and try to give the right explanation.

 I think anyone who creates a custom post type that has dependencies on
 plugins and wants to export them must have the ability to change the
 export query.

 On the other hand, the generic usage is not damaged or only slightly
 influenced.

 So it's more of an extension of the way plugins can interact better with
 export functionality.

 It may also be useful without custom post types. The possibilities of
 filtering, what should be exported, are not very user friendly. Why I can
 not select the individual posts or filter the title via regular
 expression? Since anybody will want to develop plugins that improve the
 export and allow additional filter parameters. These developer will
 appreciate these two new filters.

 If I continue to think I would even wish that I can extend the XML
 structure of the export file and thus the parser to its own sections to
 better store the export and import relationships in the file and restore
 it in other systems. Currently that is not possible.

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


More information about the wp-trac mailing list