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.
Inside _pathologic_filter the $filter object is modified. When a module uses an input format with pathologic enabled in hook_init (for example eu cookie compliance did this in an old version) then the filter object is modified. Features will export the modified filter object and this object contains environment specific data that is different on each environment (e.g. base_url).
But as far as I can see always the variable in $settings (that is static cached) is used and never the modified data in $filter.
Next comment contains a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | featurizing_pathologic-2477221-1-7.x-3.x.patch | 3.03 KB | Johnny vd Laar |
#1 | featurizing_pathologic-2477221-1-7.x-2.x.patch | 2.52 KB | Johnny vd Laar |
Comments
Comment #1
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedComment #3
Garrett Albright CreditAttribution: Garrett Albright commentedYou're right; I probably shouldn't be goofing around with stuff passed by reference like that. Committed to both branches. Thanks.