Closed bdolor closed 10 years ago
You are absolutely right! I totally forgot that. One question though. Is it by purpose that all the exports don't care about that either?
The only export format that I'm aware of that pays no regard to any user setting, either 'published' or 'exports' is the WXR which relies on WP export_wp()
— its intention is arguably to be a backup file.
Exports in PB will look at whether or not a post is marked for 'export'
The web view, of course, cares about whether something is 'published'.
So, you are right in that you can export posts that aren't published, however, both the export value and the published value play a role in creating the lists, depending on which environment they are being generated in.
Yeah, that is what I was talking about. Web view: is sensitive to Published or not Exports: are sensitive to Export or not and not to the Published status
currently, lists are generated without regard to whether or not a post is in a published state.
[post_status] => draft
is treated the same as[post_status] => publish
. Results in an inaccurate representation of a list based on what the user is publishing.