Post Notif v1.1.1 – Sanding Down The Rough Edges!

Though I’m not exactly pleased about the need to release this next version so very quickly after the previous one, I can’t say it is totally surprising that there was a bug discovered in version 1.1.0. Fortunately, thanks to Dan’s quick reporting, I was able to eradicate it without much trouble. The root cause was that, per the PHP docs, prior to PHP 5.5, empty() only supports variables; anything else results in a parse error. The example given in the docs, that “empty(trim($name))” will not work, pre PHP 5.5, is precisely what I’d added as a part of the new code in Post Notif v1.1.0. Switching to “false == trim($name)” (always be thinking Yoda conditions! 🙂 ) fixed the problem.

On a more positive note, Ruediger Walter executed a fantastic turnaround on translating the new Post Notif v1.1.0 strings into German (both formal and informal), so those are included in version 1.1.1 as well!

I sincerely hope this is the last of the (negative) fallout from the significant code changes made in version 1.1.0. Thanks for bearing with me!


2 remarks on “Post Notif v1.1.1 – Sanding Down The Rough Edges!

  1. Hi, and thank you for this plugin, it does nearly everything I want!
    However I also use plugin “Very Simple Event List” to list things coming up in date order (from today onwards, rather then blog posts from today backwards).
    The Post Notif “Send/Resend” options appear when I add blog posts, but aren’t ther for “Very Simple Event List” posts. Is this something you could include in your plugin?
    (Hope that makes sense – screen prints would probably help!)

    Many thanks,

    1. Hi Stephen,

      I’m glad to hear that Post Notif is (mostly) working well for you and thanks for the kind words!

      I do not have any personal experience with the Very Simple Event List plugin, but from a glance at its page on the plugin directory (I’m assuming this is the plugin you’re referring to: ?), it appears that you may be using its shortcodes on pages as opposed to posts? I make this distinction because the Post Notif metabox (that contains the Send/Resend/Test Send options) should be appearing for any post that is in “publish” status but it does not currently support any other post types (including pages and custom post types).

      You are certainly not the first person to ask about adding support for pages (and custom post types, for that matter) to Post Notif. I am willing to consider it for a future release but can’t promise, at this very moment, that it will happen. In the meantime, if you are comfortable tinkering with PHP and want to experiment, I can point you toward the section of the plugin code that restricts rendering the metabox to only posts.

      If this is not the situation you are finding yourself in, please do send me some screenshots (just use the email address from the “Contact” button [email icon] up at the top right of this page).


Leave a Reply

Your email address will not be published. Required fields are marked *