1.9.58 Released

  • Deal with possibility of no post format specified (reported by @rogerlos)
  • Add surrounding div with postie-post class name for CSS rules for themes.

1.9.56 Released

  • remove Allow HTML In Mail Body from settings as it didn’t do anything
  • add Allow Duplicate Comments setting to deal with WordPress killing the import
  • fix issue where unknown email was leaving tmppost, now creates draft message
  • add setting to disable legacy commands

1.9.55 Released

  • Add post id to action postie_comment_after
  • remove Create Alternate Image Sizes from settings as it didn’t do anything
  • Add compatibility for WordPress 5.7

Filter: postie_subject

This filter is called after the subject has been determined. Note that the subject can be in the email subject or the email body. You could use this filter to modify the subject before categories, post format and post type are detected.

add_filter('postie_subject', 'my_postie_subject');

function my_postie_subject($subject) {
    return '[promo] ' . $subject; // force the addition of the promo category
}