[wp-trac] [WordPress Trac] #36340: Other options ignored when using a custom post type with export_wp()

WordPress Trac noreply at wordpress.org
Mon Jul 6 14:09:01 UTC 2020


#36340: Other options ignored when using a custom post type with export_wp()
-------------------------+-----------------------------
 Reporter:  theMikeD     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Export       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by earnjam):

 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement
 * milestone:   => Future Release


Comment:

 The UI on the export screen doesn't allow filtering when exporting just an
 individual custom post type or when exporting all content, so this is just
 going to occur on direct calls to the `export_wp()` function itself.

 The documentation for the function arguments of `author`, `start_date` and
 `end_date` each say:

 > Used only when `$content` is `'post'`, `'page'` or `'attachment'`

 Given all of that, I think this is an enhancement and not a bug, since
 it's a documented design.

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


More information about the wp-trac mailing list