WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36339, comment 3


Ignore:
Timestamp:
06/12/2016 10:19:09 AM (4 years ago)
Author:
screamingdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36339, comment 3

    initial v1  
    44I'll write a UnitTest next week covering these scenarios:
    55
    6 - If a valid post type is supplied but its can_export property is false,
     6- If a valid post type is supplied but its `can_export` property is false,
    77  no entry of this post type should be exported.
    88- If an invalid post type is supplied then an error message should occur
    9   instead of doing the regular post type.
     9  instead of doing the regular export with all allowed post types.
    1010
    1111After that a mock of the error message is needed here to show what the error message will look like.