Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
14 Dec 2012 at 19:21 UTC
Updated:
29 Jul 2014 at 21:39 UTC
Jump to comment: Most recent
Comments
Comment #1
sunExcellent. I wanted to do this for D7 already in #644648: comment_form() structure is inconsistent / $form['#token'] WTF, but back then, I didn't have the idea of simply allowing #type 'item' to accept #input. :)
Comment #2
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #3
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #4
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #6
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #7
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #8
sundrupal8.comment-item.0.patch queued for re-testing.
Comment #9
sunFriends, this patch is both too simple and at the same time too effective to be ignored for more than a month. This trivial change allows me to clean up and remove some ugly special-casing from at least one contributed module.
I already mentioned this issue/patch in a couple of other issues, but no one followed this issue thus far. So please excuse me for going out of line, but this truly is a no-brainer, a pure simplification and refactoring, to remove a WTF and simplify the code by leveraging D8's latest and greatest APIs.
Comment #10
tim.plunkettThis is a neat trick. (The patch makes much more sense with
git diff -w)Count this as an RTBC, since the patch author can't RTBC.
Comment #11
dries commentedCommitted to 8.x. Thanks.