• Resolved codepuncher

    (@krypsin)


    Because this plugin has many useless error_log() it is flooding our error log.

    Please can you remove them; they are not beneficial and only waste disk space.

    example:

    function wshs_update_db_check() {
        error_log('Debug: Database update check triggered.');
        if (get_site_option( 'wshs_db_version' ) != WSHS_DATABASE_VERSION) {
            wshs_create_saved_code_table();
        }
    }
    add_action( 'plugins_loaded', 'wshs_update_db_check' );

    This executes on every page because plugins_loaded is a hook on every page. This results in Debug: Database update check triggered being added to error log on every page load for every URL. This is not an error, either, so please do not log as an error.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.