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

Update syndicatedpost.class.php #47

Merged
merged 1 commit into from
Jul 14, 2018
Merged

Commits on May 20, 2015

  1. Update syndicatedpost.class.php

    If you add your own feed to FeedWordPress and set FeedWordPress to store its entries in a custom post type, it won't work: FeedWordPress will use the actual content (which is dangerous because it will overwrite it with the feed content!) instead of creating a new post using the specified custom post type.
    
    This fix is just a safeguard: in all situation, FeedWordPress should only publish the entry to a post matching the post type it was set to.
    
    Also, the documentation should reflect the fact that using your own feed may lead to unexpected behaviors.
    On my setup, I use a custom post type dedicated to FeedWordPress. This custom post type is set not to appear in the feed. This way, I avoid problems (except the one I fixed here) but if you don't do that, you may expect some odd behaviors or data corruption.
    tristanleboss committed May 20, 2015
    Configuration menu
    Copy the full SHA
    cc737e7 View commit details
    Browse the repository at this point in the history