To add the standard editor templates to the cache, and saving many queries when a user submit a quiz, change the actiontemplate code to this in quiz.php:
PHP Code:
// pre-cache templates used by specific actions
$actiontemplates = array(
'addquiz' => array(
'editor_clientscript',
'editor_jsoptions_font',
'editor_jsoptions_size',
'editor_smilie_wysiwyg',
'editor_smilie_standard',
'editor_smiliebox',
'editor_smiliebox_category',
'editor_smiliebox_row',
'editor_smiliebox_straggler',
'editor_smiliemenu_category',
'editor_smiliemenu_smilie',
'editor_toolbar_wysiwyg',
'editor_toolbar_standard',
'newpost_disablesmiliesoption',
),
);