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.
There are three mistakes in system_menu in system.module
Values of 'title' and 'description' in menu items should not be passed to function t.
The following lines have this problem:
980
981
972
Comment | File | Size | Author |
---|---|---|---|
#8 | systemmenu-133608-8.patch | 1.2 KB | pjcdawkins |
#5 | systemmenu-1336308-5.patch | 1.22 KB | kathyh |
Comments
Comment #1
sebto CreditAttribution: sebto commentedComment #2
sebto CreditAttribution: sebto commentedComment #3
xjmComment #4
xjmThis would be a good issue for a novice to patch.
Comment #5
kathyh CreditAttribution: kathyh commentedPatch to fix values of 'title' and 'description' in menu items should not be passed to function t in system.module.
Comment #6
Niklas Fiekas CreditAttribution: Niklas Fiekas commentedExcellent. Exists in D7 too, but not in D6.
Comment #7
catchCommitted/pushed to 8.x, moving to 7.x for backport.
Comment #8
pjcdawkins CreditAttribution: pjcdawkins commentedIt took a solid 15 minutes to run
git clone
but hopefully it was worth it - here you go, my first attempt at a core patch.Comment #9
catchComment #10
webchickWell done! :) Applies perfectly!
Committed and pushed to 7.x. Thanks!