WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Sharedaddy] Patch for notice in debug mode.

[Plugin: Sharedaddy] Patch for notice in debug mode.

  • Luke Gedeon
    Participant

    @lgedeon

    The plugin is throwing a notice when debug mode is on. An easy fix would be to modify line 42 of sharedaddy.php to:
    if ( isset( $_POST['post_type'] ) && ( 'post' == $_POST['post_type'] || 'page' == $_POST['post_type'] ) ) {

    I can provide a patch if that would help. Since it was just one line this seemed easier.

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

  • The topic ‘[Plugin: Sharedaddy] Patch for notice in debug mode.’ is closed to new replies.