WordPress.org

Ready to get started?Download WordPress

Forums

Sharedaddy
Patch for notice in debug mode. (1 post)

  1. Luke Gedeon
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.