Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option/mod to import posts as "draft" instead of "published"? #7

Open
wanderson9 opened this issue Oct 24, 2016 · 2 comments
Open

Option/mod to import posts as "draft" instead of "published"? #7

wanderson9 opened this issue Oct 24, 2016 · 2 comments

Comments

@wanderson9
Copy link

I think this addition would make this mod infinitely more useful. I curate a network of blogs and want the ability to post them on the front-page the way this plugin allows one to, but I want to selectively import the ones I want.

Therefore, simply being able to switch an article that was imported as a draft from draft->published to approve it would be infinitely helpful.

@tw2113
Copy link
Member

tw2113 commented Oct 24, 2016

I think a filter on the arguments would be a good method for this.

@wanderson9
Copy link
Author

Solved by adding the following after line 408.
$post->post_status = 'draft';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants