Skip to main content

Moodle 5.0.4

Release date: 8 December 2025

Here is the full list of fixed issues in 5.0.4.

General fixes and improvements

  • MDL-86810 - Cannot disable "Receive a grade" completion condition after enabling it
  • MDL-81604 - Broken file serving under PHP 8.1+, Apache and PHP-FPM via mod_proxy_fcgi, when the filename is not only plain ASCII or w/ blank spaces
  • MDL-81514 - Assign submissions cannot be filtered by hidden groups
  • MDL-78495 - Badges (at course level) duplicated for every item restored from recycle bin
  • MDL-84898 - Prohibit checks may be slow on large sites
  • MDL-85235 - admin/tool/mobile/mobile.webmanifest.php sets cookies and has poor caching headers
  • MDL-87031 - Clear button not working properly in Grades > User report and Single view when using participant search
  • MDL-86523 - Receiving invalidcategoryid error after importing random questions
  • MDL-81804 - Moodle fail to connect to pgbouncer > 1.20 and pgbouncer < 1.23
  • MDL-86300 - Copying (or restoring) a course with a question bank: The parent of the newly created default question category is still the top category of the original course
  • MDL-85975 - Excluded fields not removed if they are null during plugin restore
  • MDL-82511 - cache_cron_task causes a failover on redis/sentinel clusters
  • MDL-81263 - Grunt should Respect local .stylelintignore, .eslintignore
  • MDL-80422 - Honour user specific start page authenticating by OAuth2
  • MDL-75764 - Bulk downloading assignment submission requires a student to have mod/assign:submit capability
  • MDL-86817 - Ad-hoc task mod_qbank\task\transfer_question_categories fails with "Duplicate entry" error after upgrade to Moodle 5.0.2+
  • MDL-86063 - Course copy fails when a non-required custom field of type "number" has no value (empty input)
  • MDL-85874 - Grade category toggle broken in Gradebook Setup, if Category Aggregation row is missing
  • MDL-87194 - AirNotifier access key requests always fail for new sites
  • MDL-86332 - Saving completion criteria removes COMPLETION_CRITERIA_TYPE_COURSE
  • MDL-86003 - TinyMCE "Browse repositories" fails for multimedia (video/audio) when adding/editing a mod_data entry
  • MDL-87198 - Activities overview page: Hidden section names are visible for stealth activities
  • MDL-87166 - "Custom link" communication provider prevents user deletion
  • MDL-87017 - Question bank context exception when home page block on all pages
  • MDL-87004 - Backups only contain random question candidates from one category
  • MDL-86953 - Mobile view - Long title in a block breaks the block editing (three dots) menu
  • MDL-86912 - The "Submission status" column should be displayed to admins in the Activities overview when they are enrolled as students
  • MDL-86879 - Course subsections has bad performance compared to normal sections
  • MDL-86822 - Error when enabling editing mode on H5P activity with course block set to "display on all pages"
  • MDL-86736 - Course short names display incorrectly in Course Overview with List/Summary layout
  • MDL-86668 - The scale explanatory popup does not filter the scale name
  • MDL-86648 - Assignment override due date can be after extension date
  • MDL-86574 - Exported cohort role tool privacy data doesn't format name/description correctly
  • MDL-86559 - auto links for activities and resources does not work when double space is present
  • MDL-86430 - Bad display of scale grading when the title of scale too long in Forum
  • MDL-86382 - qbank_bulkmove: invalidcoursemodule when clicking on limit hint
  • MDL-86323 - TinyMCE removes harmless attributes from <svg> tag
  • MDL-86235 - Several tables no longer highlight the row being hovered on
  • MDL-86161 - When editing a group that has a multilang name (and a picture), the group name upon hovering the group picture is not passing the filter
  • MDL-86159 - Inconsistent/poorly formatted courses when importing BigBlueButton recordings
  • MDL-86011 - The Responded column shouldn't be displayed to admins in the Activities overview for Feedback
  • MDL-86010 - Error when viewing a learning plan competency after deleting the associated activity
  • MDL-85988 - Book chapter content overlaps the navigation buttons
  • MDL-85930 - TinyMCE multimedia icon does not successfully add videos from Youtube repository search
  • MDL-85917 - Course section titles don't always get refreshed
  • MDL-85887 - Search input on tag/search.php is overflowing on small screen sizes
  • MDL-85835 - TinyMCE's equation editor tabs not working in the quiz attempt
  • MDL-85592 - Mobile Navigation: Multiple Sub-Menus expand/collapse simultaneously
  • MDL-85511 - On the "Manage courses and categories" page, after performing a search, there's no clear way to return to the initial view without using the browser's back button
  • MDL-85495 - Inconsistent UI behaviour of marking activity/resource as starred
  • MDL-85474 - Teachers may experience a "Call to undefined method" exception in Assignment
  • MDL-85418 - Usermenu carousel navigation link trigger anchor linking and make the page scroll back to the top
  • MDL-85366 - Outlook users receive .ics file instead of the proper invitation
  • MDL-85306 - Toggle element doesn't display tooltips
  • MDL-85287 - User tours highlight incorrectly while scrolling with backdrop
  • MDL-84745 - Bulk delete cohort button is confusing
  • MDL-83543 - Submit button remains disabled after Excel file download
  • MDL-83511 - Activities added in wrong section
  • MDL-77137 - cURL multi method does not honour proxybypass option

Accessibility fixes and improvements

  • MDL-85534 - Skipped heading level on Forum discussion page
  • MDL-83485 - Use lists instead of div tags in the preferences groups template
  • MDL-85858 - SCORM Player missing page title and iframe title attributes
  • MDL-87245 - SCORM packages that open in a new window should inform users that they open in a new window
  • MDL-87149 - Insufficient contrast for feedback questions with Dependence item set
  • MDL-86998 - Empty <th> table header and empty form label on "Notification preferences" screen presenting accessibility issues
  • MDL-86986 - The core/drag_handle button relies on the title attribute for its accessible label
  • MDL-86855 - Accessibility issues on the qbank_columnsortorder admin settings page
  • MDL-86840 - Accessibility issues on the forum advanced search form
  • MDL-86806 - Keyboard navigation in "Add activity or resource" modal is reversed in RTL languages
  • MDL-86701 - Use native button elements for the buttons on the custom fields pages
  • MDL-86547 - Consider accessibility improvements for <code> display
  • MDL-86450 - Checkboxes in forum advanced search form not labelled correctly
  • MDL-86434 - User profile page: Page title missing if user ID is invalid or current user permissions are insufficient
  • MDL-85820 - Required form field validation issue: client-side adds unnecessary "-"
  • MDL-85796 - Remove the unnecessary title attribute on user profile links (RGAA 6.1 criteria)
  • MDL-85774 - Home page offline RGAA compliance issue
  • MDL-82232 - Incorrect landmark accessible names for the breadcrumb

Performance fixes and improvements

  • MDL-81304 - Long load times on "my courses"
  • MDL-87019 - Redis session handler memory grows unbounded due to no garbage collection of userkeyprefix hash for user=0
  • MDL-86749 - Quiz performance adding questions from the question bank - needs index on question statistics
  • MDL-85764 - Quiz queue_quiz_open_notification_tasks_for_users can be very slow
  • MDL-85729 - Grades page can load thousands of pluginfiles

Security improvements

  • MDL-86369 - Deleting a single attempt from SCORM reports page deletes all user attempts when reloading the page
  • MDL-87066 - Create clean_string() to simplify and improve Mustache rendering security

Security fixes

A number of security related issues were resolved. Details of these issues will be released after a period of approximately one week to allow system administrators to safely update to the latest version.