• Paul

    (@paulvandermeijs)


    Hello David,
    I’ve used your plugin and I like how it works. There is just one thing that I think it shouldn’t do:

    The first thing your plugin does is completely disabling error reporting.

    Usually the level for error reporting is set by WordPress and can be controlled by the WP_DEBUG configuration setting. If you would like to completely disable error reporting maybe you should check the value for that setting first.

    Personally I don’t think it is necessary to change the error reporting setting at all; when enabled your code produced just a single notice because you try to extend an undeclared variable in get_ssba_style() which is easily fixed.

    Regards,
    Paul.

    http://wordpress.org/plugins/simple-share-buttons-adder/

  • The topic ‘Error reporting’ is closed to new replies.