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.
Simply, there's a fatal part error in the template when short tags are enabled.
Comment | File | Size | Author |
---|---|---|---|
opensearch_shortag_parse_error.patch | 774 bytes | neclimdul | |
Comments
Comment #1
neclimdulComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAs reported in http://drupal.org/coding-standards#phptags, short tags should never be used with Drupal; I take that means they should never be enabled with Drupal.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #4
neclimdulI would say they are not mutually exclusive. And its not a big deal to support them.
Comment #5
neclimdulThis is sort of a critical but trivial bug fix I'd like to see committed. The patch even includes some additional documentation to match the sort of de facto template documentation.
Just a note, this is similar to the approach taken by core's rss.xml handler, views' RSS template, fivestar's AJAX callback and views bonus' xml template. So its pretty common approach to addressing this sort of problem.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedThe code has been changed, and committed.
Thanks for your report.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedI forgot to change status.