WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Gurken Subscribe to Comments] Undefined variables

[Resolved] [Plugin: Gurken Subscribe to Comments] Undefined variables

Viewing 3 replies - 1 through 3 (of 3 total)
  • Both errors are from the original author. Fixed in svn and will be in the next release.

    Tanks for reporting

    In version 1.6, I added an isset() for the $_POST variable as it was creating a PHP Notice:

    add_action('init', create_function('$a','global $sg_subscribe; if ( isset( $_POST[\'solo-comment-subscribe\'] ) && $_POST[\'solo-comment-subscribe\'] == \'solo-comment-subscribe\' && is_numeric($_POST[\'postid\']) ) {

    Thanks. Fixed in 1.7. I replaced the anonymous function with a real one, this should also be slightly faster.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Gurken Subscribe to Comments] Undefined variables’ is closed to new replies.