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

[4.x] Don't create revision when localizing entry unless revisions are enabled on the collection #8908

Merged
merged 8 commits into from
Jan 18, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue where a revision would be created when localizing an entry, even when revisions were disabled on the entry's collection.

This PR also deprecates the revisions method on the Collection in favour of the revisionsEnabled method which does the same thing (+ an additional check to see if the Revisions feature is enabled and if the site is running Pro).

It also adjusts the revisionsEnabled condition on the Revisable trait that was incorrect - probably a copy/paste error in 04aaf5c.

Fixes #3117.

@jasonvarga jasonvarga merged commit af3c359 into 4.x Jan 18, 2024
35 checks passed
@jasonvarga jasonvarga deleted the fix/revision-created-when-localizing-entry branch January 18, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants