moodle/user/UPGRADING.md
2024-10-05 15:08:28 +08:00

1.3 KiB

core_user (subsystem) Upgrade notes

4.5

Added

  • New \core_user\hook\extend_user_menu hook added to allow third party plugins to extend the user menu navigation.

    For more information see MDL-71823

  • A new hook, \core_user\hook\extend_default_homepage, has been added to allow third-party plugins to extend the default homepage options for the site.

    For more information see MDL-82066

Changed

  • The visibility of the following methods have been increased to public:

    • \core_user\form\private_files::check_access_for_dynamic_submission()
    • \core_user\form\private_files::get_options()

    For more information see MDL-78293

  • The user profile field \profile_field_base::display_name() method now accepts an optional $escape parameter to define whether to escape the returned name.

    For more information see MDL-82494

Deprecated

  • The \core_user\table\participants_search::get_total_participants_count() is no longer used since the total count can be obtained from \core_user\table\participants_search::get_participants().

    For more information see MDL-78030