Moodle 3.8.2 (Build: 20200309) と 3.8.5+ (Build: 20200918) を比較してみましたが、投票 (choice) モジュールに関しましては大幅には変わっていないようです。
# git rev-list -n 1 --before="2020-03-10 00:00" origin/MOODLE_38_STABLE
1bbace8bd0cd4b56dd62b71d281f90e36b5ae16b
# git checkout 1bbace8bd0cd4b56dd62b71d281f90e36b5ae16b
# git diff --stat --color MOODLE_38_STABLE ..1bbace8bd0cd4b56dd62b71d281f90e36b5ae16b
# git diff MOODLE_38_STABLE ..1bbace8bd0cd4b56dd62b71d281f90e36b5ae16b > 385_diff.txt
diff --cc mod/choice/lang/en/choice.php
index 0288cb1e014,0288cb1e014..a56b121a5d0
--- a/mod/choice/lang/en/choice.php
+++ b/mod/choice/lang/en/choice.php
@@@ -88,7 -88,7 +88,7 @@@ $string['limitanswers'] = 'Limit the nu
$string['modulename'] = 'Choice';
$string['modulename_help'] = 'The choice activity module enables a teacher to ask a single question and offer a selection of possible responses.
--Choice results may be published after students have answered, after a certain date, or not at all. Results may be published with student names or anonymously.
++Choice results may be published after students have answered, after a certain date, or not at all. Results may be published with student names or anonymously (though teachers always see student names and their responses).
A choice activity may be used
diff --cc mod/choice/report.php
index 7810b338c9e,7810b338c9e..9c9ea4c55c9
--- a/mod/choice/report.php
+++ b/mod/choice/report.php
@@@ -101,7 -101,7 +101,9 @@@
require_once("$CFG->libdir/odslib.class.php");
/// Calculate file name
-- $filename = clean_filename("$course->shortname ".strip_tags(format_string($choice->name,true))).'.ods';
++ $shortname = format_string($course->shortname, true, array('context' => $context));
++ $choicename = format_string($choice->name, true, array('context' => $context));
++ $filename = clean_filename("$shortname " . strip_tags($choicename)) . '.ods';
/// Creating a workbook
$workbook = new MoodleODSWorkbook("-");
/// Send HTTP headers
@@@ -160,7 -160,7 +162,9 @@@
require_once("$CFG->libdir/excellib.class.php");
/// Calculate file name
-- $filename = clean_filename("$course->shortname ".strip_tags(format_string($choice->name,true))).'.xls';
++ $shortname = format_string($course->shortname, true, array('context' => $context));
++ $choicename = format_string($choice->name, true, array('context' => $context));
++ $filename = clean_filename("$shortname " . strip_tags($choicename)) . '.xls';
/// Creating a workbook
$workbook = new MoodleExcelWorkbook("-");
/// Send HTTP headers
@@@ -215,7 -215,7 +219,9 @@@
// print text file
if ($download == "txt" && has_capability('mod/choice:downloadresponses', $context)) {
-- $filename = clean_filename("$course->shortname ".strip_tags(format_string($choice->name,true))).'.txt';
++ $shortname = format_string($course->shortname, true, array('context' => $context));
++ $choicename = format_string($choice->name, true, array('context' => $context));
++ $filename = clean_filename("$shortname " . strip_tags($choicename)) . '.txt';
header("Content-Type: application/download\n");
header("Content-Disposition: attachment; filename=\"$filename\"");
get_with_capability_join() 関数に関しましては2020年3月9日にMoodle 3.8.2 (Build: 20200309) がリリースされた後、2020年5月6日に以下のように修正が加えられているようです。
[MDL-68402 accesslib: fix get_with_capability_join logic - moodle/moodle@4508f85]
https://github.com/moodle/moodle/commit/4508f85b7b9c064d10d76a9dcad43f16f5919bb9#diff-9b2de23daa1efd203cac9cc1fd5f972d