Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Deprecation of the badges/newbadge.php page - MDL-43938 #1073

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ tags:

This page highlights the important changes that are coming in Moodle 4.5 for developers.

## Badges

### Deprecated `badges/newbadge.php`

The `badges/newbadge.php` and `badges/edit.php` pages have been combined to make things easier to maintain since both were pretty similar (`newbadge.php` for creating badges and `edit.php` for editing them).

As a result, `badges/newbadge.php` is now deprecated and will be removed in Moodle 6.0. Please update your code to use badges/edit.php instead.

:::info

Visiting

https://yourmoodlesite/badges/newbadge.php?id=x

will now automatically redirect to

https://yourmoodlesite/badges/edit.php?courseid=x&mode=new

:::

## Core changes

### Autoloader
Expand Down
Loading