• This is only a proposal to clean up PHP notices seen when the WP_DEBUG flag is enabled. Hopefully you find these suggestions helpful and can incorporate updates in future releases.

    Plugin File: facebook-fanbox-with-css-support.php

    Patched LINES 64 and 65

    $stream = (isset($instance['stream']) && $instance['stream'] == 'true') ? ' checked="checked"' : '';
    		$logobar = (isset($instance['logobar']) && $instance['logobar'] == 'true') ? ' checked="checked"' : '';

    LINES 108 and 109 also have undefined variables.
    108: $var_sReadOnlyStyle
    109: $css_reset

    I’ve just assigned them to empty strings on LINE 102 for now but I suppose they could be omitted entirely if there’s no use for them.

    $var_sReadOnlyStyle = '';
    $css_reset = '';

    http://wordpress.org/extend/plugins/facebook-fanbox-with-css-support/

  • The topic ‘[Plugin: Facebook Fanbox (with CSS Support)] WP_DEBUG notices clean up proposal’ is closed to new replies.