Viewing 4 replies - 1 through 4 (of 4 total)
  • It is because the default value is se to Yes, I will change it to No by default for the next version. This behaivor can be control in the options. Thank you for letting me know.

    What do you mean with auto subscribing CPTs?

    Regards.!!

    Thread Starter justinwhall

    (@jwind)

    Thanks for the speedy response and sorry for my poor description. If a user posts a “post” they are auto subscribed to comments. This is NOT the case with custom post types. Authors are NOT subscribed to their own posts when the post is a custom post type.

    Subscribe Authors IS checked.

    Make sense?

    Alright I got it. I haven’t work with Custom post type, this is the reason why the plugin doesn’t work as is expected. I guess I will do it now in order to add this feature. Thank you for your report. I will work on this and then let you know. Just be a little bit patient since I have a lot of work.

    Best Regards.!!

    Thread Starter justinwhall

    (@jwind)

    Thanks.

    Looks like the problem is on line 159. The ‘publish_post’ hook is only for, well, posts.
    Temporary solution would be:

    // Subscribe post authors, if the case
    if ( get_option( 'subscribe_reloaded_notify_authors', 'no' ) == 'yes' ) {
    				add_action( 'publish_post', array( &$this, 'subscribe_post_author' ) );
    				add_action( 'custom_post_type', array( &$this, 'subscribe_post_author' ) );
    }

    Of course, the publish_WHATEVER hook is deprecated but it’s a quick fix in the mean time.

    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Post type authors not automatically subscribed.’ is closed to new replies.