Support » Plugin: Subscribe2 » [Plugin: Subscribe2] Not sending email for new pages

  • Resolved ctcdesign

    (@ctcdesign)


    I was spinning my wheels on this all day, I tested on a shared hostgator account and my own VPS on wp versions 3.4.1 and 3.4.2 (3 different themes including twentyeleven) with the same results, no notifications for newly published pages.

    I fixed it by changing these lines in /classes/class-s2-core.php

    if ( $post->post_type == 'page' ) {
    				$post_cats_string = get_all_category_ids();
    			} else {
    				$post_cats_string = implode(',', $post_cats);
    			}

    to this:

    if ( $post->post_type == 'page' ) {
    				$post_cats_string = implode(',', get_all_category_ids());
    			} else {
    				$post_cats_string = implode(',', $post_cats);
    			}

    This fixed the problem for me 🙂 YMMV

    http://wordpress.org/extend/plugins/subscribe2/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Subscribe2] Not sending email for new pages’ is closed to new replies.