Support » Plugin: Subscribe To Comments Reloaded » Some problems

  • About a month ago, I stopped working custom code like

    $wp_subs = new wp_subscribe_reloaded();
    $wp_subs->add_subscription($my_id, $your_email);
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Reedyseth

    (@reedyseth)

    Hello @mixer,

    On this case please change that code for this:

    $wp_subs = new wp_subscribe_reloaded();
    $wp_subs->strc->add_subscription($my_id, $your_email);

    Regards.!!

    Plugin Author Reedyseth

    (@reedyseth)

    I explain why the calling of the function changed, see:

    https://github.com/stcr/subscribe-to-comments-reloaded/wiki/Codebase

    Thread Starter mixer

    (@mixer)

    The code only works with the third parameter, like
    $wp_subs->strc->add_subscription($my_id, $your_email, 'Y');
    But all it suits me. I corrected code.
    Everything is working.

    Thank you!

    Plugin Author Reedyseth

    (@reedyseth)

    The code only works with the third parameter, like
    $wp_subs->strc->add_subscription($my_id, $your_email, ‘Y’);

    Looks strange because on the function the value of the third parameter is set to Y as default, so if no parameter is given then that value is going to be set.

    Thread Starter mixer

    (@mixer)

    Strangely, today checked – was a mistake.
    Now again I check everything works without an argument.
    Nevertheless, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some problems’ is closed to new replies.