Support » Plugin: Postie » filterPostie.php disappers

Viewing 15 replies - 1 through 15 (of 22 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    That’s an interesting one and I just tried it myself with the older version of Postie. The same thing happened on my installation. The normal plugin upgrade process won’t do that (I’m pretty sure anyways).

    It was apparently the Postie Filter plugin that was upgraded as well and it did wipe out my copy of filterPostie.php. That’s weird but there may be something in the documentation that I’m missing. I don’t actually use that plugin myself…

    It seems upgrade remove filterPostie.php and add filterPostie.php.sample

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    I was wrong and I just got confirmation: when you upgrade a plugin (or a theme) the old directory does get deleted. Any user created files that are in that directory such as filterPostie.php will get deleted too.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    As Jan posted the WP upgrade process deletes the entire directory. So if you are trying to extend postie by using the “postie_post” filter you need to either put this code in your theme or your own separate plugin.

    Wayne you may write it to filterPostie.php.sample too.
    I don’t like this solution but thanks for the reply.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Yes, I’ve updated filterPostie.php.sample to help people understand what they need to do.

    Soory Wayne, but why don’t you update only files you need, removing what you don’t need? Thanks for update.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    I don’t have any control over the upgrade process. WP core does it, not me.

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    Might I suggest you include instructions for the user on how to put that file in wp-content instead? That would prevent plugin updates from deleting that file and your plugin can check there for the existence of that filterPostie.php there.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    A good idea. Thanks!

    Just to clarify… You say put the file into wp-content… Is it loading from /wp-content/ ? From /wp-content/plugins/ ? Or from either directory?

    Plugin Author Wayne Allen

    (@wayneallen-1)

    /wp-content/filterPostie.php

    I put it on theme folder, now I move it.
    Thanks

    Hello,

    i have the same problem, i’ve opened a topics, can you help me ?

    Thank you…

    Fabio

    Plugin Author Wayne Allen

    (@wayneallen-1)

    @fabiotoleti
    Please see my response to your other question.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘filterPostie.php disappers’ is closed to new replies.