Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: Submit for Review Hooks

    I found a dirty workaround by adding following to wp-settings.php:

    // Include the wpdb class and, if present, a db.php database drop-in.
    require_wp_db();
    $GLOBALS[‘wpdb’]->query(‘SET SQL_MODE = “NO_AUTO_VALUE_ON_ZERO”‘);

    This is not really a solution cause other people in my company may do some updates and overwrite the wp-setting-File. It would be very very helpfull if wordpress provides initial SQL querie by plugin or configuration to solve this problem.

Viewing 1 replies (of 1 total)