Quantcast
Channel: [Plugin: FeedWordPress] Feed import UNPUBLISHES previously published posts | WordPress.org
Viewing all articles
Browse latest Browse all 6

jeromegn on "[Plugin: FeedWordPress] Feed import UNPUBLISHES previously published posts"

$
0
0

I'm not sure if this will work yet, but I have faith.

This problem was ultra annoying to our blog so I had to dig in the code of the plugin.

At some point it checks the freshness, I removed the call that updated the post.

Find this line:
elseif (!$this->filtered() and $freshness == 1) :

And under it, just remove everything it does. I've added:
$ret = false;

But I guess that's unecessary. Hell I could've completely deleted the condition.

Hope it helps.


Viewing all articles
Browse latest Browse all 6

Trending Articles