Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jan 2026 at 10:43 UTC
Updated:
9 Feb 2026 at 23:19 UTC
Jump to comment: Most recent
Comments
Comment #3
claudiu.cristeaReady for review.
Comment #4
nicxvan commentedOh this is an interesting approach.
I think it makes sense, do we know why this was split up the way it was?
Comment #5
claudiu.cristeaI have tried to understand the same thing but didn't found an answer. It could be a relic from a previous refactoring
Comment #6
quietone commentedI think we can just say deprecate.
Comment #7
dcam commentedI couldn't find any issues with the MR. The comment preview continued to work correctly after applying the MR. So this looks good to me.
Comment #8
larowlanHas anyone tested that calling `comment_preview()` still works?
Comment #9
nicxvan commentedThat's a good point this is complicated enough that is probably worth confirming the deprecation pathway is tested.
Comment #11
claudiu.cristeaInstead of adding a useless test, I would rather restore the original code there.
Comment #12
claudiu.cristeaAs I've mentioned in #11, instead of testing that, better preserve the original (but deprecated) code. Reverted the code in
comment_preview()so it doesn't needs testComment #13
nicxvan commentedI think that is a valid way to handle this.
I think this is ready again!
I also pulled this down and manually tested.
Comment #17
larowlanCommitted to main and backported to 11.x
Thanks folks