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

Fix enable deprecation method name #167

Merged
merged 1 commit into from
Mar 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/04_Changelogs/4.12.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Further deprecations will be added to Silverstripe CMS 4.13, which will be relea

### Showing deprecations warnings {#showing-deprecations}

The [Deprecation](api:SilverStripe\Dev\Deprecation) class did not function correctly when used with modules that had a version less than `4.0.0`, notably modules such as `silverstripe/admin` which has a major version of `1`. The old "version filtering" functionality has been replaced with a simple call to `Deprecation::enabled()` that will show all deprecation notices, regardless of the version passed as the first parameter.
The [Deprecation](api:SilverStripe\Dev\Deprecation) class did not function correctly when used with modules that had a version less than `4.0.0`, notably modules such as `silverstripe/admin` which has a major version of `1`. The old "version filtering" functionality has been replaced with a simple call to `Deprecation::enable()` that will show all deprecation notices, regardless of the version passed as the first parameter.

## Bugfixes {#bugfixes}

Expand Down