show_errors(false); $suppress_errors = $wpdb->suppress_errors(false); $errorLevel = error_reporting(0); } if ($installThisCallable === null) { $this->dbDelta($errorlevel); } else { call_user_func($installThisCallable); } if ($errorlevel === false) { $wpdb->show_errors($show_errors); $wpdb->suppress_errors($suppress_errors); error_reporting($errorLevel); } if ($installThisCallable === null) { update_option( $this->getPluginConstant(PluginReceiver::$PLUGIN_CONST_OPT_PREFIX) . '_db_version', $this->getPluginConstant(PluginReceiver::$PLUGIN_CONST_VERSION) ); } } }