Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For some reason, the nodeapi 'op form' change (http://drupal.org/node/39778) removed the fieldset surrounding the 'input format' selection on node add/edit forms. See the CVS diff: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/filter.module?r1=1.9...
This patch restores the fieldset, by once again nesting all elements within an array element called 'filter'. The 'op form' patch kept (and even slightly improved) the fieldset properties, and these are unchanged here.
Comment | File | Size | Author |
---|---|---|---|
filter_fieldset.patch | 1.62 KB | Jaza | |
Comments
Comment #1
drewish CreditAttribution: drewish commentedI'd been wondering if this was an intentional change or not. The patch looks good though.
Comment #2
chx CreditAttribution: chx commentedPlease test this patch throughly. Say, PHP filter works for nodes, comments, custom blocks?
Comment #3
Jaza CreditAttribution: Jaza commentedJust tested this patch by applying the PHP filter on a node, a comment, and a custom block. All works fine.
chx: I don't really see what problems this patch could cause. It's making a very small and basic change, and all it's doing is bringing back the old fieldset that was already there before. Am I missing something?
As far as I can see, the patch is ready to go in.
Comment #4
chx CreditAttribution: chx commentedIf it works, it's good. I was just concerned a bit because it's a crucial component of Drupal.
Comment #5
Dries CreditAttribution: Dries commentedLooks good. Committed to HEAD. Thanks.
Comment #6
(not verified) CreditAttribution: commented